BCGControlBar Pro for MFC
void CBCGPRibbonButton::SetDefaultCommand ( BOOL  bSet = TRUE)
inline

Tells the button that it can execute its default command.

This flag is relevant only when button has a menu.

If bSet is TRUE, the button can execute its default command and the assigned popup menu appears only when user clicks the arrow displayed at the right edge of the button.

If bSet is FALSE, the button an not execute its default command. The menu appears always disregard where the user clicks the button.

Parameters
bSetTells whether the button can execute its default command.