General information
Category:
COM/DCOM and OLE Automation
Title:
TreeView doubleclick
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
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