Compartilhar via


CMFCVisualManager::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 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: afxvisualmanager.h

See Also

Reference

CMFCVisualManager Class

Hierarchy Chart

CMFCRibbonStatusBarPane Class