Sir,
On a window I have a group box which contains two radio buttons.
what I require is that when my window opens one of the radio button in that group box should be in the checked state.
How can I do so.
This is a discussion on Default checking of radio button in a group box within the C++ Programming forums, part of the General Programming Boards category; Sir, On a window I have a group box which contains two radio buttons. what I require is that when ...
Sir,
On a window I have a group box which contains two radio buttons.
what I require is that when my window opens one of the radio button in that group box should be in the checked state.
How can I do so.
Look in the source file, find where the associated variable is declared, and set its value to 0 or 1, it will be -1 by default.
>Look in the source file, find where the associated variable is declared, and set its value to 0 or 1, it will be -1 by default.
The associated member variable is declared as
CButton m_anipmode;
where m_anipmode is the member variable for Group box. Also when I try to make a member variable for the radio buttons using ClassWizard, I am not able to do so.
Where am I suppossed to set the value as 0 or 1.
juhi