CBCGPRibbonButton::CBCGPRibbonButton | ( | UINT | nID, |
HICON | hIconSmall, | ||
LPCTSTR | lpszText, | ||
BOOL | bAutoDestroyIcon = FALSE , |
||
BOOL | bAlphaBlendIcon = FALSE , |
||
RibbonSimplifiedModeType | type = RibbonSimplifiedOnScreenCompact , |
||
BOOL | bHideInFullMode = FALSE |
||
) |
Construct ribbon button object.
nID | Button's command ID. |
lpszText | Specifies button's text label. |
hIconSmall | A handle to small icon to be used as button's image. |
bAutoDestroyIcon | Set this parameter to TRUE to automatically destroy icon. |
bAlphaBlendIcon | Specifies wither icon is a 32-bit. |
type | Specifies a ribbon element appearance in the Ribbon simplified mode. |
bHideInFullMode | Specifies whether a ribbon element is invisible in the Ribbon classic (non-simplified) mode. |