CMFCRibbonMainPanel::AddRecentFilesList

Adds a text string to the recent files list menu.

void AddRecentFilesList(
    LPCTSTR lpszLabel,
    int nWidth = 300 
);

Parameters

  • lpszLabel
    Specifies the string to add to the recent files list.

  • nWidth
    Specifies the width, in pixels, of the recent files list panel.

Requirements

Header: afxRibbonMainPanel.h

See Also

Reference

CMFCRibbonMainPanel Class

Hierarchy Chart