Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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