|
-
July 4th, 2002, 07:13 AM
#1
How come in my CTreeCtrl SetCheck doesn't work?
When I am populating my CTreectrl with nodes (which is done from the MyCFormView::OnInitialUpdate()) - right after I do InsertItem - I then do SetCheck - yet this doesn't show the item checked when the application goes up. Note that right after a SetCheck I do a GetCheck to see that it was checked and it shows that it is. Does anyone know why??
HTREEITEM moduleItem=m_TreeCtrl->InsertItem(&insertStr);
m_TreeCtrl->SetCheck(moduleItem,TRUE );
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
|