|
-
May 30th, 2006, 02:48 PM
#1
Hide Tree Ctrl Item
Is there a way to hide a tree control item (without deleting it)?
Thanks.
-
May 30th, 2006, 03:50 PM
#2
Re: Hide Tree Ctrl Item
Code:
CWnd* pTree = GetDlgItem( IDC_TREE1 );
pTree->ShowWindow( SW_HIDE );
-
May 30th, 2006, 03:52 PM
#3
Re: Hide Tree Ctrl Item
Oops. Never mind.
I didn't see tree control ITEM.
-
May 30th, 2006, 11:24 PM
#4
Re: Hide Tree Ctrl Item
I don't think Soo That you can Hide a Tree Control SubItem . But yes you can do another thing like make a raay for all the items store the value of tree item in That and construct your tree with the help of array items.
and if you want to Hide any Item .Simply for which item you want to hide it from the tree mark it as hide in array and reconstcut your tree with your array item.
Thanx
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|