共用方式為


CStatusBarCtrl::SetMinHeight

Sets the minimum height of a status bar control's drawing area.

void SetMinHeight( 
   int nMin  
);

Parameters

  • nMin
    Minimum height, in pixels, of the control.

Remarks

The minimum height is the sum of nMin and twice the width, in pixels, of the vertical border of the status bar control.

Example

m_wndSBC.SetMinHeight(40);

Requirements

Header: afxcmn.h

See Also

Reference

CStatusBarCtrl Class

Hierarchy Chart

CStatusBarCtrl::GetRect

CStatusBarCtrl::GetBorders