Void CRadio3Dlg: : OnRadio1 ()
{
//TODO: Add your the control notification handler code here
M_radio=1;
The UpdateData (FALSE);
AfxMessageBox (" 1 ");
}
Void CRadio3Dlg: : OnRadio2 ()
{
//TODO: Add your the control notification handler code here
AfxMessageBox (" 2 ");
}
M_radio group corresponding variables for the two controls,
The question now is, after the success of the ask what interface will pop up after being covered many times AfxMessageBox (" 1 "); Information?
CodePudding user response:
The logic for you? When the selected light B, extinguish a. don't think this logic will create chaos?CodePudding user response:
This estimate is control problem of events, put the code on the radio button of the mouse click or raise events can be solvedCodePudding user response:
The UpdateData, should be virtual function overloading