CStatusBarCtrl::GetRect

Visual Studio 6.0

CStatusBarCtrl::GetRect

BOOL GetRect( int nPane, LPRECT lpRect ) const;

Return Value

Nonzero if successful; otherwise zero.

Parameters

nPane

Zero-based index of the part whose bounding rectangle is to be retrieved.

lpRect

Address of a https://msdn.microsoft.com/en-us/library/ms536136(v=vs.60).aspx structure that receives the bounding rectangle.

Remarks

Retrieves the bounding rectangle of a part in a status bar control.

Example

CRect rectPane1;

VERIFY( GetRect(1, &rectPane1) );

CStatusBarCtrl OverviewClass MembersHierarchy Chart

See Also    CStatusBarCtrl::GetParts

Show: