Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C++ Visual-Studio
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! Smile | :)
Posted 23-Feb-13 2:26am
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

You may disable the check box in the radio button message handler.
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

If you are using MFC, I believe it is
m_window.EnableWindow(FALSE);
br mode="hold" />If not MFC, then ask MSDN about ::EnableWindow()...
  Permalink  

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



Advertise | Privacy | Mobile
Web02 | 2.8.141015.1 | Last Updated 23 Feb 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100