Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Drag & Drop on Treeviews
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00561133
Message ID:
00561461
Views:
20
This message has been marked as the solution to the initial question of the thread.
Fabio

Hittest() has a little distortion .... use it like this
* In the TreeView's OLEDragOver event:
*** ActiveX Control Event ***
LPARAMETERS oData, effect, button, shift, x, y, state
LOCAL loNode
IF oData.GetFormat(1) && 1=text
   loNode = THIS.HitTest( x*15, y*15 )
   THIS.DropHighlight = loNode
ENDIF
some further details are on the Wiki too ...
http://fox.wikis.com/wc.dll?Wiki~TreeView~WIN_COM_DNA

HTH
Markus
Previous
Reply
Map
View

Click here to load this message in the networking platform