BCGControlBar Pro for MFC
BOOL CBCGPRibbonButton::IsDefaultCommand ( ) const
inline

Tells whether button can execute its default command.

Call this function to determine whether a button can execute its default command. See SetDefaultCommand() for more details.