HighDots Forums  

tristate check box

alt.html.dhtml alt.html.dhtml


Discuss tristate check box in the alt.html.dhtml forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
sunil
 
Posts: n/a

Default tristate check box - 09-15-2006 , 10:23 AM






I have a tristate check box.The default behavour of tristate check box
in windows is that, the grayed check box will become unchecked after
click on grayed check box.
But i want , the grayed check box will become checked after click on
grayed check box in VC++ .Pls help me its urgent.
The code i have written is ........
CButton *l_CheckBox = (CButton
*)GetDlgItem(IDC_ACCESS_AUTHORITY_SELECT);
if(BST_INDETERMINATE == l_CheckBox->GetCheck())
{
l_CheckBox->SetCheck(TRUE);
}


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.