Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
NYCoord
Message
 
À
23/12/2010 19:31:11
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01493758
Message ID:
01493778
Vues:
117
>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
________________________________
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform