>>I got DropHighlight to work just fine (if Hittest returns an object I set dropHighlight to that object).
>Treeview.DragIcon = loNode.CreateDragImage (or maybe loNode is a parameter, sorry but I'm not with Vfp right now...) - it gives an error message (maybe solved in 5.0).
>Anyway, for now I've decided to keep the other method for changing the structure (left click, right click), also because I've found out that if I try to Drag a Node to another place which is not visible on the Treeview, it doesn't scroll automatically (it would be necessary to write some code to accomplish that - probably using "EnsureVisible" which also does not seem to work here... What about there?)
>
I'm triyng to use the TreeView with Drag & Drop capabilities, The HitTest never returns a Node (even using a factor - 15- in the coordinates), I use the DragOver if I move an external control and the OleDragOver if I try to move a node, in both cases the HitTest returns .null.. ??? (I'm using WinNT 4.0 and the Comctl32.ocx 5.01.4319.
The CreateDragImage returns an image, and the DragIcon expects a CUR file.
Does the EnsureVisible works to scroll the TreeView?
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only