Partager via


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

Concepts

CStatusBarCtrl Class

CStatusBarCtrl Members

Hierarchy Chart

CStatusBarCtrl::GetRect

CStatusBarCtrl::GetBorders