|
inline |
Constructor.
| uiCmd | The command ID. |
| hIcon | The icon of the custom icon (use 16x16 icon). Because in some visual themes the Ribbon caption is transparent, this icon should have the alpha channel (RGBA, 32 bpp resolution). |
| nFlags | Specifies whether the caption button should be displayed. This parameter is a combination of the following values: BCGP_RIBBON_CAPTION_CUSTOM_BUTTON_DISPLAY_IN_NORMAL_MODE, BCGP_RIBBON_CAPTION_CUSTOM_BUTTON_DISPLAY_IN_BACKSTAGE_MODE and BCGP_RIBBON_CAPTION_CUSTOM_BUTTON_DISPLAY_IN_HIDDEN_MODE.. |
| bAutoDestroyIcon | Specifies whether the icon shoud be automatically destroyed. |