- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am using DVF 6.6B to process several Treeview events. The std Treeview control allows checkboxes to be one of each tree items active states. However, I have been unable to find the corresponding treeview notification message. The TVN_SELCHANGED event is useless because this event is independent of the checkbox state event. The NM_CLICK event provides some hope, but it only tells me which treeview control the user clicked in, not which treeview item within the treeview control. I suppose I could capture mouse movements and send a TVM_HITTEST message to see if the mouse was within the state icon region, but that seems a rather roundabout and possibly inaccurate approach.
Thanks for any help!
Larry Scheier
SEI Associates
Thanks for any help!
Larry Scheier
SEI Associates
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I tested it with Spy++ on Explorer's Tools/Folder Options/View treeview. It looks as if it's NM_CUSTOMDRAW -> NMCUSTOMDRAW -> uItemState/CDIS_CHECKED.
I assume you know that you have to use "Cray" (Integer) pointers to dereference structures sent by WM_NOTIFY?
Jugoslav
I assume you know that you have to use "Cray" (Integer) pointers to dereference structures sent by WM_NOTIFY?
Jugoslav
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You are a wealth of information, Jugoslav. That's exactly what I needed. Thanks!
Larry Scheier
SEI Associates
Larry Scheier
SEI Associates
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page