Solved

hw to delete all the childs in TreeCtrl

Posted on 2003-11-30
6
258 Views
Last Modified: 2013-11-20
Hw to delete all its  childs  and subchilds in TreeCtrl when that item is collapsed
0
Comment
Question by:sarath83
  • 3
  • 3
6 Comments
 
LVL 23

Accepted Solution

by:
Roshan Davis earned 30 total points
ID: 9848291
You can use the function DeleteItem with a HTREEITEm.
if you want to delete all items use the function "DeleteAllItems()"
0
 

Author Comment

by:sarath83
ID: 9848374
i have the Images attached to each item wil this work if images r attachted.
0
 
LVL 23

Expert Comment

by:Roshan Davis
ID: 9848392
Yes
0
NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

 

Author Comment

by:sarath83
ID: 9848400
I need to Delete Only the childs of the root but not the root item.
0
 

Author Comment

by:sarath83
ID: 9848435
Thaks roshman I got it .
0
 
LVL 23

Expert Comment

by:Roshan Davis
ID: 9848500
:)
0

Featured Post

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Suggested Solutions

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 Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
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.

777 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