Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Enables the default command for the ribbon button.
void SetDefaultCommand(
BOOL bSet=TRUE
);
Parameters
- [in] bSet
If TRUE, the button can execute its default command. If FALSE, the button cannot execute its default command.
Remarks
bSet is relevant only when the button has a menu. If bSet is TRUE, the button can execute its default command and the assigned pop-up menu appears only when a user clicks the arrow at the right edge of the button. Otherwise, the button cannot execute its default command, and the pop-up menu appears regardless of which area of the button the user clicks.
Requirements
Header: afxribbonbutton.h