Share via


CMFCVisualManagerOffice2003::OnDrawRibbonStatusBarPane

The framework calls this method when it draws a pane on the status bar.

virtual COLORREF OnDrawRibbonStatusBarPane(
   CDC* pDC,
   CMFCRibbonStatusBar* pBar,
   CMFCRibbonStatusBarPane* pPane
);

Parameters

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

  • [in] pBar
    A pointer to the status bar that contains the pane.

  • [in] pPane
    A pointer to a status bar pane. The framework draws this CMFCRibbonStatusBarPane Class object.

Return Value

A reserved value. The default implementation returns -1.

Remarks

Override this method in a derived visual manager to customize the appearance of a pane on the status bar.

Requirements

Header: afxvisualmanageroffice2003.h

See Also

Reference

CMFCVisualManagerOffice2003 Class

Hierarchy Chart