For example, if you want to take an action when the user clicks the button in the dialog box, you must catch the (ID_CLICKED_APPLY | SEL_COMMAND) message and map it to a message handler in your dialog box. For more information, see Targets and messages. | |||||||