Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Moving the mouse pointer
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00362899
Message ID:
00362931
Views:
29
Roi,

Look at objtoclient()

>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.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform