BCGControlBar Pro for MFC
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.

Parameters
nIDSpecifies the command identifier.
lpszTextSpecifies the button text label.
nSmallImageIndexZero-based index of button's small image in the parent category's image list.
nLargeImageIndexZero-based index of button's large image in the parent category's image list.
lpszCancelLabelSpecifies the custom "Cancel" text label.
lpszUndoOneLabelSpecifies the custom "Undo single action" text label.
lpszUndoFormatSpecifies the custom "Undo multiple actions" text format.
typeSpecifies a ribbon element appearance in the Ribbon simplified mode.
bHideInFullModeSpecifies whether a ribbon element is invisible in the Ribbon classic (non-simplified) mode.