Solved

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

Posted on 2004-04-02
3
197 Views
Last Modified: 2013-11-20
Hi,

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

oh, and if so how...


Nasa
0
Comment
Question by:nasa
3 Comments
 
LVL 48

Accepted Solution

by:
AlexFM earned 50 total points
ID: 10742399
Try CTreeCtrl::SelectItem(NULL)
0
 
LVL 15

Expert Comment

by:lakshman_ce
ID: 10742432
Try pTreeCtrl->SetItemState( hItem, 0, TVIS_SELECTED );


-Lakshman
0
 
LVL 1

Author Comment

by:nasa
ID: 10757405
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

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now