Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
TreeView doubleclick
Message
From
02/06/2006 19:51:35
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
TreeView doubleclick
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01126856
Message ID:
01126856
Views:
91
I am using TreeView and I have on one question.

I want to nodes react on DoubleClick() not on NodeClick() on some action.
I have put some code in DoubleClick() and I have a problem how to detect when the user press on node and when not, because DoubleClick() event happens when you click anywhere in control not only when you click on nodes.
I think one of the way is to use HitTest() to detect whether user clicked on node or not.

Any help? Is HitTest() solution (how to use it)?
Next
Reply
Map
View

Click here to load this message in the networking platform