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
Titre:
Moving the mouse pointer
Divers
Thread ID:
00362899
Message ID:
00362899
Vues:
56
I'm trying to move the mouse pointer over a wee bit when the user clicks a node in a treeview. I put the following in the nodeclick event:
AMOUSEOBJ(aMouseInfo, 1)
nCurX =  aMouseInfo[ 3 ]
nCurY =  aMouseInfo[ 4 ]
MOUSE AT nCurX + 10, nCurY + 10 pixels
It moves the the pointer only it moves it relative to the vfp screen and I want to move it relative to it's current position on a form. BTW, the forms ShowWindow type is 2-As Top Level.

The reason I'm doing this is to move the pointer over a pop-menu that is called by rightclicking a node. If the user doesn't move over the pointer over the menu it won't go away. I figured I just force it to move over it.

Any ideas?

TIA
Roi
'MCP' Visual FoxPro

In Rome, there was a poem.
About a dog, who found two bone.
He lick the one, he lick the other.
He went pyscho, he drop dead!
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform