Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OLE Drag and Drop
Message
From
15/09/1999 11:51:43
 
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00264920
Message ID:
00265012
Views:
20
>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!

I would suggest going to Jim Booth's Website.
He has an excellent white paper on the subject.
Previous
Reply
Map
View

Click here to load this message in the networking platform