CStatusBarCtrl::GetBorders

BOOL GetBorders( int* pBorders ) const;

BOOL GetBorders( int& nHorz, int& nVert, int& nSpacing ) const;

Return Value

Nonzero if successful; otherwise zero.

Parameters

pBorders

Address of an integer array having three elements. The first element receives the width of the horizontal border, the second receives the width of the vertical border, and the third receives the width of the border between rectangles.

nHorz

Reference to an integer that receives the width of the horizontal border.

nVert

Reference to an integer that receives the width of the vertical border.

nSpacing

Reference to an integer that receives the width of the border between rectangles.

Remarks

Call this function to retrieve the status bar control’s current widths of the horizontal and vertical borders and of the space between rectangles. These borders determine the spacing between the outside edge of the control and the rectangles within the control that contain text.

CStatusBarCtrl OverviewClass MembersHierarchy Chart

See Also   CStatusBarCtrl::GetParts, CStatusBarCtrl::SetParts