Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
BOOLGetItemRect(intnIndex**,LPRECTlpRect) const;**
Return Value
Nonzero if successful; otherwise zero.
Parameters
nIndex
Zero-based index of the button for which to retrieve information.
lpRect
Address of a structure or a CRect object that receives the coordinates of the bounding rectangle.
Remarks
Call this function to retrieve the bounding rectangle of a button in a toolbar control. This function does not retrieve the bounding rectangle for buttons whose state is set to TBSTATE_HIDDEN.
CToolBarCtrl Overview | Class Members | Hierarchy Chart
See Also CToolBarCtrl::GetButton, CToolBarCtrl::GetButtonCount, CToolBarCtrl::GetState, CToolBarCtrl::SetButtonSize, CToolBarCtrl::SetBitmapSize