CStatusBarCtrl::GetRect
Retrieves the bounding rectangle of a part in a status bar control.
BOOL GetRect(
int nPane,
LPRECT lpRect
) const;
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.
Nonzero if successful; otherwise zero.
CRect rectPane1;
VERIFY(m_wndSBC.GetRect(1, &rectPane1));
Header: afxcmn.h