Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
NYCoord
Message
 
To
23/12/2010 19:31:11
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01493758
Message ID:
01493778
Views:
116
>Form methods are available to determine the mouse coordinates (MouseDown, MouseMove, MouseUp, MouseWheel all have LPARAMETERS nButton, nShift, nXCoord, nYCoord)
>
>Can I set the nXCoord and nYCoord values programatically in order to position the mouse cursor?
>
>dg

Does that help?
? SetCurPos(300,300)

FUNCTION SetCurPos(lnX, lnY)
  DECLARE INTEGER SetCursorPos IN WIN32API ;
    INTEGER, ;
    INTEGER
  RETURN SetCursorPos(lnX, lnY)
ENDFUNC
Luis María Guayán
Tucumán, Argentina
________________________________
SysOp de www.PortalFox.com
Nada corre como un zorro
________________________________
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform