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 );
Re:How come in my CTreeCtrl SetCheck doesn't work?
Re: Re:How come in my CTreeCtrl SetCheck doesn't work?
What's the point in bringing up all those old posts with the same question and giving a reference to the same thread (with a link which doesn't work, BTW) five times in a row?
Re: How come in my CTreeCtrl SetCheck doesn't work?
The most strange problem is solved with the most strange solution.
Thanks, it works great for me