Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to Get Currext X, and Current Y positions of CURSOR
Message
From
09/08/1999 12:05:48
 
 
To
09/08/1999 11:56:39
Amit Abhangrao
Charmi Software Exports
Mumbai, India
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00251346
Message ID:
00251536
Views:
5
>Hello Ed And Vinod,
>
> Thanks for your reply. But i need my cursor position and not my Mouse pointer.
>

I'm not sure how you'd get that as a location on screen - VFP could locate it through the _SCREEN.ActiveControl reference, with the SelStart property, but that would give you a relative positon within the control, and this creates a problem when focus is on a control whose Active property is false - an error is generated. You may have to resort to some API programming if you need a coordinate reference.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform