BCGControlBar Pro for MFC
CBCGPRibbonUndoButton::CBCGPRibbonUndoButton ( UINT  nID,
LPCTSTR  lpszText,
HICON  hIcon,
RibbonSimplifiedModeType  type = RibbonSimplifiedOnScreenCompact,
BOOL  bHideInFullMode = FALSE 
)

Constructs a new CBCGPRibbonUndoButton object with specified command ID, text label and icon.

Parameters
nIDSpecifies the command identifier.
lpszTextSpecifies the button text label.
hIconA handle to an icon to be used as a button's image.
typeSpecifies a ribbon element appearance in the Ribbon simplified mode.
bHideInFullModeSpecifies whether a ribbon element is invisible in the Ribbon classic (non-simplified) mode.