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