BCGControlBar Pro for MFC
CBCGPRibbonButton::CBCGPRibbonButton ( UINT  nID,
LPCTSTR  lpszText,
HICON  hIcon,
BOOL  bAlwaysShowDescription = FALSE,
HICON  hIconSmall = NULL,
BOOL  bAutoDestroyIcon = FALSE,
BOOL  bAlphaBlendIcon = FALSE,
RibbonSimplifiedModeType  type = RibbonSimplifiedOnScreenCompact,
BOOL  bHideInFullMode = FALSE,
HICON  hIconMedium = NULL 
)

Construct ribbon button object.

The constructor.

Parameters
nIDButton's command ID.
lpszTextSpecifies button's text label.
hIconA handle to icon to be used as button's image.
bAlwaysShowDescriptionSet this parameter to TRUE to always show the button's description.
hIconSmallA handle to small icon to be used as button's image.
bAutoDestroyIconSet this parameter to TRUE to automatically destroy icon.
bAlphaBlendIconSpecifies wither icon is a 32-bit.
typeSpecifies a ribbon element appearance in the Ribbon simplified mode.
bHideInFullModeSpecifies whether a ribbon element is invisible in the Ribbon classic (non-simplified) mode.
hIconMediumA handle to medium icon to be used as button's image in the Ribbon simplified mode.