BCGControlBar Pro for MFC
BOOL CBCGPRibbonBackstageViewPanel::AttachRecentViewToItem ( UINT  uiID,
UINT  nFlags = BCGP_BACKSTAGE_RECENT_VIEW_DEFAULT_FLAGS,
BOOL  bByCommand = TRUE,
UINT  uiWaterMarkResID = 0,
COLORREF  clrBase = (COLORREF)-1 
)

Attaches a "Recent" page to existing item.

Parameters
uiIDSpecifies view's command ID or zero-based index.
nFlagsA combination of BCGP_SHOW_FOLDERS_LIST and BCGP_SHOW_PINS.
bByCommandSpecifies whether uiID is a command ID or index.
uiWaterMarkResIDIdentifier for the water mark resource.
clrBaseThe watermark resource base colour. This color will be automatically addapted to the current color theme.