Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Moving the mouse pointer
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Moving the mouse pointer
Miscellaneous
Thread ID:
00362899
Message ID:
00362899
Views:
59
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!
Next
Reply
Map
View

Click here to load this message in the networking platform