Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Retrieves the bounding rectangle for the specified tab in a tab control.
BOOL GetItemRect(
int nItem,
LPRECT lpRect
) const;
Parameters
nItem
Zero-based index of the tab item.lpRect
Pointer to a RECT structure that receives the bounding rectangle of the tab. These coordinates use the viewport's current mapping mode.
Return Value
Nonzero if successful; otherwise 0.
Example
See the example for CPropertySheet::GetTabControl.
Requirements
Header: afxcmn.h