首页 相关文章 设定Mouse 在某个固定范围

设定Mouse 在某个固定范围

Type RECT    Left As Long    Top As Long    Right As Long    Bottom As LongEnd TypeDeclare Function ClipCursor Lib "user32" (lpRect As Any) As LongDeclare Function ShowCursor Lib "user32" (ByVal bShow As Long) As LongDeclare Function SetCursorPos Lib "user32" (ByVal x As Long, _    ByVal y As Long) As LongDeclare Function GetWindowRect Lib "user32" Alias "GetWindowRect" _    (ByVal hwnd As Long, lpRect As RECT) As Long'设定Mouse可移动的围是在某个control项之内Public Function toLockCursor(ByVal ctlHwnd As Long) As BooleanDim rect5 As...[ 查看全文 ]

2016-02-19 标签:

设定Mouse 在某个固定范围的相关文章

手机页面
收藏网站 回到头部