Solved

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

Posted on 2004-04-02
3
201 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
no14 challenge 14 70
zeroFront challenge 7 111
Thin secure Windows 10 5 102
Trying to run powershell  in a batch file. How do I do this? 8 105
Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
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.
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

839 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