共用方式為


CMFCVisualManager::OnDrawStatusBarSizeBox

The framework calls this method when it draws the size box for a CMFCStatusBar.

virtual void OnDrawStatusBarSizeBox(
   CDC* pDC,
   CMFCStatusBar* pStatBar,
   CRect rectSizeBox
);

Parameters

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

  • [in] pStatBar
    A pointer to a status bar. The framework draws the size box for this status bar.

  • [in] rectSizeBox
    A rectangle that specifies the boundaries of the size box.

Remarks

Override this method in a derived visual manager to customize the appearance of the size box on a CMFCStatusBar.

Requirements

Header: afxvisualmanager.h

See Also

Reference

CMFCVisualManager Class

Hierarchy Chart

CMFCStatusBar Class