| 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.
| nID | Button's command ID. |
| lpszText | Specifies button's text label. |
| hIcon | A handle to icon to be used as button's image. |
| bAlwaysShowDescription | Set this parameter to TRUE to always show the button's description. |
| 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. |
| hIconMedium | A handle to medium icon to be used as button's image in the Ribbon simplified mode. |