Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Mouse
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Re: Mouse
Miscellaneous
Thread ID:
00525261
Message ID:
00525278
Views:
15
>Even though I'm not VFP I want to know if there is a windows API function that will let you see which mouse button was click ANYWHERE on the screen.

Dubious. Windows sends messages directory to individual windows (including the desktop) concerning mouse events via their callback functions. There are a number of mouse associated messages such as: WM_MBUTTONDOWN, WM_MBUTTONUP and the message includes a parameter specifying the particular co-ordinates. PeekMessage() might help but only for the current thread.
George

Ubi caritas et amor, deus ibi est
Previous
Reply
Map
View

Click here to load this message in the networking platform