CMFCRibbonUndoButton::CMFCRibbonUndoButton
Constructs a new CMFCRibbonUndoButton object by using the command ID that you specify, text label and images from the image list of the parent object.
CMFCRibbonUndoButton(
UINT nID,
LPCTSTR lpszText,
int nSmallImageIndex=-1,
int nLargeImageIndex=-1
);
CMFCRibbonUndoButton(
UINT nID,
LPCTSTR lpszText,
HICON hIcon
);
Parameters
[in] nID
Specifies the command identifier.[in] lpszText
Specifies the text label of the button.[in] nSmallImageIndex
Zero-based index in the image list of the parent object for the button's small image.[in] nLargeImageIndex
Zero-based index in the image list of the parent object for the of button's large image.[in] hIcon
A handle to an icon that you can use as a button's image.
Requirements
Header: afxribbonundobutton.h