CTabCtrl::GetItem

This method retrieves information about a tab in a tab control.

When the message is sent, the mask member specifies which attributes to return. If the mask member specifies the TCIF_TEXT value, the pszText member must contain the address of the buffer that receives the item text and the cchTextMax member must specify the size of the buffer.

At a Glance

Header file: Afxcoll.h
Platforms: H/PC 2.0, Palm-size PC, H/PC Pro
Windows CE versions: 1.0 and later
Complete documentation: Visual C++ documentation

Syntax

BOOL GetItem( int nItem, TC_ITEM* pTabCtrlItem ) const;

See Also

CTabCtrl::InsertItem, CTabCtrl::SetItem