Use of Multiple Check boxes in MFC
-
hi, i am using multiple Check Boxes in my GUI and i wanted that only one gets checked at a time i.e when one Check Box gets checked by user the others should automatically get unchecked. i can't use Radio Buttons since i don't find its "Auto" check and uncheck from "Behavior" in its "Properties" in vs2008. any help in this regards please. Regards Jawad
-
hi, i am using multiple Check Boxes in my GUI and i wanted that only one gets checked at a time i.e when one Check Box gets checked by user the others should automatically get unchecked. i can't use Radio Buttons since i don't find its "Auto" check and uncheck from "Behavior" in its "Properties" in vs2008. any help in this regards please. Regards Jawad
-
OnBnClickedCheckXXX() -> uncheck all checkboxes programtically and check "CheckBoxXXX" . Or write new function and pass control handle of check box to be checked, then inside that function uncheck all , then check passed check box.
thank you sanjaylk. it really helped. Regards Jawad
-
hi, i am using multiple Check Boxes in my GUI and i wanted that only one gets checked at a time i.e when one Check Box gets checked by user the others should automatically get unchecked. i can't use Radio Buttons since i don't find its "Auto" check and uncheck from "Behavior" in its "Properties" in vs2008. any help in this regards please. Regards Jawad
I am using VS2008 and see Auto behavior for checkboxes. See here.
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"Show me a community that obeys the Ten Commandments and I'll show you a less crowded prison system." - Anonymous