Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Drag & drop with a treeview
Message
From
29/09/1998 13:29:02
 
 
To
29/09/1998 10:46:06
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00141941
Message ID:
00142028
Views:
29
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.
Previous
Reply
Map
View

Click here to load this message in the networking platform