CTabCtrl::GetItemRect
BOOLGetItemRect(intnItem**,LPRECTlpRect) const;**
Return Value
Nonzero if successful; otherwise 0.
Parameters
nItem
Zero-based index of the tab item.
lpRect
Pointer to a structure that receives the bounding rectangle of the tab. These coordinates use the viewport’s current mapping mode.
Remarks
Retrieves the bounding rectangle for the specified tab in a tab control.
Example
See the example for CPropertySheet::GetTabControl.
CTabCtrl Overview | Class Members | Hierarchy Chart
See Also CTabCtrl::SetItemSize, CTabCtrl::AdjustRect