CBCGPRibbonUndoButton::CBCGPRibbonUndoButton | ( | UINT | nID, |
LPCTSTR | lpszText, | ||
int | nSmallImageIndex = -1 , |
||
int | nLargeImageIndex = -1 , |
||
LPCTSTR | lpszCancelLabel = NULL , |
||
LPCTSTR | lpszUndoOneLabel = NULL , |
||
LPCTSTR | lpszUndoFormat = NULL , |
||
RibbonSimplifiedModeType | type = RibbonSimplifiedOnScreenCompact , |
||
BOOL | bHideInFullMode = FALSE |
||
) |
The constructor.
Constructs a new CBCGPRibbonUndoButton object with specified command ID, text label and images from the parent category's image list.
nID | Specifies the command identifier. |
lpszText | Specifies the button text label. |
nSmallImageIndex | Zero-based index of button's small image in the parent category's image list. |
nLargeImageIndex | Zero-based index of button's large image in the parent category's image list. |
lpszCancelLabel | Specifies the custom "Cancel" text label. |
lpszUndoOneLabel | Specifies the custom "Undo single action" text label. |
lpszUndoFormat | Specifies the custom "Undo multiple actions" text format. |
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. |