用vb让鼠标隐藏教程给个(要有具体代码0

2024-12-19 08:36:00
推荐回答(1个)
回答1:

Private Declare Function ShowCursor Lib "user32" (ByVal bShow As Long) As Long
Private Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long)

Sub Form_Load()
Dim rc%
rc% = ShowCursor(False) '隐藏鼠标
Sleep (5000) '停5秒
rc% = ShowCursor(True) '显示鼠标
End Sub