?
Solved

hw to delete all the childs in TreeCtrl

Posted on 2003-11-30
6
Medium Priority
?
262 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
6 Comments
 
LVL 23

Accepted Solution

by:
Roshan Davis earned 120 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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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

Percona Live Europe 2017 | Sep 25 - 27, 2017

The Percona Live Open Source Database Conference Europe 2017 is the premier event for the diverse and active European open source database community, as well as businesses that develop and use open source database software.

Question has a verified solution.

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

Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
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.
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Suggested Courses

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