BCGControlBar Pro for MFC
void CBCGPRibbonMainPanel::AddRecentFilesList ( LPCTSTR  lpszLabel,
int  nWidth = 300,
BOOL  bShowPins = FALSE 
)

Adds a text string, which will be placed in the "recent files list" menu.

Parameters
lpszLabelSpecifies the string to add.
nWidthSpecifies the desired width, in pixels, of the recent files list panel.
bShowPinsSet this parameter to TRUE to display pin on the right of the file name.