We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now

x

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

nasa
nasa asked
on
Medium Priority
220 Views
Last Modified: 2013-11-20
Hi,

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

oh, and if so how...


Nasa
Comment
Watch Question

Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION
Try pTreeCtrl->SetItemState( hItem, 0, TVIS_SELECTED );


-Lakshman

Author

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
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.