CStatusBarCtrl::GetRect
Retrieves the bounding rectangle of a part in a status bar control.
BOOL GetRect(
int nPane,
LPRECT lpRect
) const;
Parameters
nPane
Zero-based index of the part whose bounding rectangle is to be retrieved.lpRect
Address of a RECT structure that receives the bounding rectangle.
Return Value
Nonzero if successful; otherwise zero.
Example
CRect rectPane1;
VERIFY(m_wndSBC.GetRect(1, &rectPane1));
Requirements
Header: afxcmn.h