Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Drag & drop with a treeview
Message
De
29/09/1998 13:29:02
 
 
À
29/09/1998 10:46:06
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00141941
Message ID:
00142028
Vues:
30
In case anybody cares, I found that the x/y coordinates to HitTest() have to be scaled. I went through the samples and found that they were doing:
this.Hittest(x/96*1440,y/96*1440)

Now, if anybody knows the significance of 96 & 1440, I'd love to hear about it.

PS to Microsoft: a little more commenting in the samples would be nice!


>Has anybody implemented OLE Drag&Drop with the MS TreeView6? I cannot get the HitTest() code to work correctly. I'd love to see a tiny sample if anyone has gotten it to work. The VB code works, but I'm struggling in VFP.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform