TreeView with checkboxes

G

Guest

is there any possibility to find out whether treeNode text has been clicked, or its corresponding checkbox
I would like to check this in MouseDown event handler (or in any other one that allows for this).

Thank
Michał Januszczyk
 
C

Claes Bergefall

No managed way that I can find
Use P/Invoke and send a TVM_HITTEST message

/claes


Michal Januszczyk said:
is there any possibility to find out whether treeNode text has been
clicked, or its corresponding checkbox ?
 
M

Marc Butenko

Try looking at the BeforeCheck and BeforeSelect events. I think that will
give you what you need and much easier than any API calls...

--
Marc Butenko
(e-mail address removed)



Michal Januszczyk said:
is there any possibility to find out whether treeNode text has been
clicked, or its corresponding checkbox ?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top