Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
HitTest method in Microsoft TreeView ActiveX control
Message
De
10/11/1997 10:59:49
 
 
À
12/05/1997 18:38:07
Renato De Giovanni
Via Fractal Information Systems
São Paulo, Brésil
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00031436
Message ID:
00059275
Vues:
132
>>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?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform