CMFCStatusBar::OnDrawPane

Redraw the pane of the status bar.

virtual void OnDrawPane(
   CDC* pDC,
   CMFCStatusBarPaneInfo* pPane 
);

Parameters

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

  • [in] pPane
    A pointer to a CMFCStatusBarPaneInfo structure that contains the information about the pane to be redrawn.

Remarks

By default, OnDrawPane redraws the pane by using the device context pDC according to the pane's style and content.

Override this method in a CMFCStatusBar-derived class to customize the appearance of a pane.

Requirements

Header: afxstatusbar.h

See Also

Reference

CMFCStatusBar Class

Hierarchy Chart