I am placing a radio button in a dialogue box using the resource editor. I want to check its status when the dialogue box closes. There is method called CButton::GetCheck which returns the status of the radio button, but I can't access it because I don't have an object name to use for the call. I can't do radiobuton.GetCheck(); because all I know about my radio button is its ID. How can I access the GetCheck method? Please help. Thanks in advance.