The framework calls this method when it draws the frame around the CMFCRibbonMainPanel.
virtual void OnDrawRibbonMainPanelFrame(
   CDC* pDC,
   CMFCRibbonMainPanel* pPanel,
   CRect rect
);
Parameters
- [in] pDC 
 A pointer to a device context.
- [in] pPanel 
 A pointer to the CMFCRibbonMainPanel.
- [in] rect 
 A rectangle that specifies the boundaries of the CMFCRibbonMainPanel.
Remarks
Override this method in a derived visual manager to customize the appearance of the frame for the CMFCRibbonMainPanel.
Requirements
Header: afxvisualmanager.h