Simple question: with CTreeView is there a way to select nothing? (no folder, no top level, nada)

Hi,

Title says it all...  I really hope so.  

oh, and if so how...


Nasa
LVL 1
nasaAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
AlexFMConnect With a Mentor Commented:
Try CTreeCtrl::SelectItem(NULL)
0
 
lakshman_ceCommented:
Try pTreeCtrl->SetItemState( hItem, 0, TVIS_SELECTED );


-Lakshman
0
 
nasaAuthor Commented:
Thanks go to both of you for your replies.

AlexFM --- don't know why I never thought of that, but your solution fit right into my code

Thanks again


Nasa
0
All Courses

From novice to tech pro — start learning today.