Tree Item Position
C / C++ / MFC
3
Posts
2
Posters
0
Views
1
Watching
-
In my program I need to test if the Selected Item in a tree control is at the end of a root. I'm guessing that I can get the info out of an HTREEITEM but I dont konw how to get the info. How can I get it? Thanks in advance. -Raffi
-
Hi Raffi, Do you mean testing if an item is at the end of a branch ? In that case, you could simply test to see if it has any child items with GetChildItem(hItemSelected), which will return NULL if no children exist. Alwin