CMFCVisualManager::OnDrawRibbonRecentFilesFrame

The framework calls this method when it draws a frame around a list of recent files.

virtual void OnDrawRibbonRecentFilesFrame(
   CDC* pDC,
   CMFCRibbonMainPanel* pPanel,
   CRect rect
);

Parameters

  • [in] pDC
    A pointer to a device context.

  • [in] pPanel
    A pointer to the Main panel on the ribbon.

  • [in] rect
    A rectangle that specifies the boundaries of the frame for the list of recent files.

Remarks

Override this method in a derived visual manager to customize the appearance of the list of recent files.

Requirements

Header: afxvisualmanager.h

See Also

Concepts

MFC Hierarchy Chart

Reference

CMFCVisualManager Class