共用方式為


CMFCVisualManager::OnDrawStatusBarPaneBorder

The framework calls this method when it draws the border for a CMFCStatusBar object.

virtual void OnDrawStatusBarPaneBorder(
   CDC* pDC,
   CMFCStatusBar* pBar,
   CRect rectPane,
   UINT uiID,
   UINT nStyle
);

Parameters

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

  • [in] pBar
    A pointer to a CMFCStatusBar object. The framework draws this status bar object.

  • [in] rectPane
    A rectangle that specifies the boundaries of the status bar.

  • [in] uiID
    The ID of the status bar.

  • [in] nStyle
    The style of the status bar.

Remarks

Override this method in a derived visual manager to customize the appearance of the border for a CMFCStatusBar object.

Requirements

Header: afxvisualmanager.h

See Also

Reference

CMFCVisualManager Class

Hierarchy Chart

CMFCStatusBar Class