CStatusBarCtrl::GetRect

BOOLGetRect(intnPane**,LPRECTlpRect) 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 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