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

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.