Click here to Skip to main content
15,886,038 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello guys! how can i make my checkbox uncheckable using radio button?? it's like the checkbox looks dim and uncheckable & when i click the radio button, i can able to check the checkbox. can you help me with the codes guys?! i'm using visual c++ 2008 express. thank you very much! :)
Posted

You may disable the check box in the radio button message handler.
 
Share this answer
 
If you are using MFC, I believe it is
C++
m_window.EnableWindow(FALSE);
br mode="hold" />If not MFC, then ask MSDN about ::EnableWindow()...
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900