CTabCtrl::GetItemRect

BOOL GetItemRect( int nItem, LPRECT lpRect ) const;

Return Value

Nonzero if successful; otherwise 0.

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.

Remarks

Retrieves the bounding rectangle for the specified tab in a tab control.

CTabCtrl OverviewClass MembersHierarchy Chart

See Also   CTabCtrl::SetItemSize, CTabCtrl::AdjustRect