Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 268
  • Last Modified:

hw to delete all the childs in TreeCtrl

Hw to delete all its  childs  and subchilds in TreeCtrl when that item is collapsed
0
sarath83
Asked:
sarath83
  • 3
  • 3
1 Solution
 
Roshan DavisCommented:
You can use the function DeleteItem with a HTREEITEm.
if you want to delete all items use the function "DeleteAllItems()"
0
 
sarath83Author Commented:
i have the Images attached to each item wil this work if images r attachted.
0
 
Roshan DavisCommented:
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!

 
sarath83Author Commented:
I need to Delete Only the childs of the root but not the root item.
0
 
sarath83Author Commented:
Thaks roshman I got it .
0
 
Roshan DavisCommented:
:)
0

Featured Post

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!

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now