CMFCDropDownToolbarButton::SetDefaultCommand
Sets the default command that the framework uses when a user clicks the button.
void SetDefaultCommand(
UINT uiCmd
);
Parameters
- [in] uiCmd
The ID of the default command.
Remarks
Call this method to specify a default command that the framework executes when the user clicks the button. An item with the command ID specified by uiCmd must be located in the parent drop-down toolbar.
Requirements
Header: afxdropdowntoolbar.h