CStatusBar::GetItemRect
Copies the coordinates of the indicator specified by nIndex into the structure pointed to by lpRect.
void GetItemRect(
int nIndex,
LPRECT lpRect
) const;
Параметры
nIndex
Index of the indicator whose rectangle coordinates are to be retrieved.lpRect
Points to a RECT structure or a CRect object that will receive the coordinates of the indicator specified by nIndex.
Заметки
Coordinates are in pixels relative to the upper-left corner of the status bar.
Требования
Header: afxext.h