Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Detect Mouse Leaving The Main Screen
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01232036
Message ID:
01232039
Views:
12
>How can I detect when the user moves the mouse off the side of the screen?
>
>Thanks

Check the functions bellow to get cursor position.

DECLARE INTEGER GetWindowRect IN WIN32API INTEGER hWnd, STRING @ lpRect
DECLARE INTEGER GetCursorPos IN WIN32API STRING @ lpPoint
DECLARE INTEGER DefWindowProc IN WIN32API INTEGER hWnd, INTEGER Msg, INTEGER wParam, INTEGER lParam
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform