CToolBarCtrl::GetRect
Retrieves the bounding rectangle for a specified toolbar button.
BOOL GetRect(
int nID,
LPRECT lpRect
) const;
Параметры
nID
The button identifier.lpRect
A pointer to a RECT structure to receive the bounding rectangle information.
Возвращаемое значение
TRUE if successful; otherwise FALSE.
Заметки
This member function implements the behavior of the Win32 message TB_GETRECT, as described in the Windows SDK.
Требования
Header: afxcmn.h