Hi David,
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.
>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.
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!