Click here to Skip to main content
Sign Up to vote bad
good
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:26


3 solutions

You may disable the check box in the radio button message handler.
  Permalink  
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  
If you are using MFC, I believe it is
m_window.EnableWindow(FALSE);
 
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)

  Print Answers RSS
Your Filters
Interested
Ignored
     
0 Sergey Alexandrovich Kryukov 208
1 OriginalGriff 203
2 Abhinav S 168
3 Rohan Leuva 150
4 Abhishek Pant 145
0 Sergey Alexandrovich Kryukov 8,474
1 OriginalGriff 6,714
2 CPallini 3,603
3 Rohan Leuva 2,853
4 Maciej Los 2,234


Advertise | Privacy | Mobile
Web04 | 2.6.130516.1 | Last Updated 23 Feb 2013
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid