Click to See Complete Forum and Search --> : Using SetCheck in CTreeCtrl


joakimf
May 26th, 1999, 06:27 AM
I'm using SetCheck() in my CTreeCtrl. And I call a function in OnInitDlg that sets the checkmark. The return value from SetCheck is 1. But when the dialog shows there are no checkmarks in the squares. When I call the same function by pressing a Button after the window is shown, the check marks are there. Does any one have an idea what causes this problem.
//joakimf

pgnanaprakash
January 8th, 2004, 01:35 AM
try this article

http://www.codeguru.com/forum/showthread.php?s=&threadid=76872&highlight=CTreeCtrl+SetCheck

pgnanaprakash
January 8th, 2004, 01:36 AM
Hi,

Please try this link

http://www.codeguru.com/forum/showthread.php?s=&threadid=76872&highlight=CTreeCtrl+SetCheck

With Regards
Prakash