Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
OLE Drag and Drop
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
OLE Drag and Drop
Divers
Thread ID:
00264920
Message ID:
00264920
Vues:
42
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform