Solved

hw to delete all the childs in TreeCtrl

Posted on 2003-11-30
6
256 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
Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

 

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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Suggested Solutions

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…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
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.
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.

746 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

8 Experts available now in Live!

Get 1:1 Help Now