Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
NYCoord
Message
 
 
À
24/12/2010 10:59:23
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:
01493813
Vues:
85
Check http://www.berezniker.com/content/pages/visual-foxpro/position-shortcut-menu-over-toolbar

>Thanks, yes that will set the cursor relative to the desktop... I'd like to be able to set it relative to the VFP form.
>
>
>
>>>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
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform