Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OLE Drag and Drop
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
OLE Drag and Drop
Miscellaneous
Thread ID:
00264920
Message ID:
00264920
Views:
43
I have 2 TreeView ActiveX controls, I want to drag and drop from one to the other one, I can get all the information I need from the source dragged using the OleStartDrag method, but when the Drag is finished in the other TreeView control, this is, when the OLEDragDrop even is fired in the receiving control how can I know the node (line on the treeview) where the drop action was ended.

The OleDragDrop method gets these parameters:
LPARAMETERS data, effect, button, shift, x, y
So I already know the x,y position of the mouse then the drag finishad, but how could I know or translate this position to the node that was targeted?

Thanks in advance for your tips!
Jorge Flores
From the Amigo Country
Next
Reply
Map
View

Click here to load this message in the networking platform