Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Moving the mouse pointer
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00362899
Message ID:
00363953
Vues:
36
Roi,

You objtoclient() may not be needed if your ActiveX is directly contained by the form, if it's inside other containers you will need to use it to resolve the object relative coordinates to form relative. You are also going to need to use the WINDOW clause because otherwise it'll be relative to the main VFP window.

You may want to look if there is an API function that will just move the mouse a delta number of pixels from where it is. Although there's no guarantee that the popup menu displayed down and left from the mouse it might have opened up and right depending on where the form is on the screen. How about just keyboarding a downarrow followed by an uparrow to activate the menu?

>Thanks, I looked at objtoclient() but I'm not sure what to do with it. I can't figure out how to get the mouse pointer position from it.
>
>Am I missing something? I just need the mouse position in pixels.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform