Question:
How does one go about disabling/enabling buttons and check boxes in dialogs based on the state of other buttons or check boxes? The controls in question are of the MFC class CButton and are created as part of a CDialog object.
Answer:
I would write a common routine that disables/enables all the controls based on various criteria. Then, call this routine from the event handlers for any controls that change it.