|
-
September 22nd, 2008, 06:20 AM
#1
CTreeView problem
Hi all,
I created a treeview with style
TVS_HASBUTTONS |
TVS_DISABLEDRAGDROP |
TVS_HASLINES |
TVS_LINESATROOT |
TVS_CHECKBOXES |
TVS_SINGLEEXPAND
When OnInitialUpdate is called, I insert the items into the tree control, everything is fine with inserting the items. But, the problem raises when I set some items to checked state using GetTreeCtrl().SetCheck( hItem, TRUE ). But, it does not show the checked symbol on the item node. Whereas when I query for GetTreeCtrl().GetCheck, it returns me TRUE. I did this in OnInitialUpdate function.
Regards,
Salman
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
|