If I have several radio buttons, can I enable or disable a command button depending on which radio button is clicked? For example, if 3 radio buttons in a group are labeled WHITE, BLACK, and GRAY, can I enable a command button on the same dialog only if WHITE or BLACK are checked, but not GRAY? I thought of using an <font color=red>ON_UPDATE_COMMAND_UI</font> macro, with the handler function containing an "<font color=red>if</font>" statement checking the variables mapped to the radio controls, but I think <font color=red>DoDataExchange</font> doesn't get called yet to set the values. Any other ideas how I can dynamically handle the state of a button (or edit box, etc) according to selections made by the user?