Posted on 1998-06-24
I have a group of buttons in a dialog, as well as a few text fields. I have the need to update the dialog box
inside my Dialog class. To update the text fields, I make this call: m_text.CWnd::SetWindowText(text) and it works great. But I am unable to update the group of radio buttons. I have tried: m_airid.CWnd:CheckRadioButton(0,5,4)...with 0 being the first button in the group, 5 being the last, and 4 being the one I want checked off? Any idea why this won't work. FYI, m_airid is the first button in the group and is the only button declared as a member variable of type CButton. In properties, it is selected as group, while the other 5 buttons are not.