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