CTabCtrl::SetItem

BOOL SetItem( int nItem, TCITEM* pTabCtrlItem );

Return Value

Nonzero if successful; otherwise 0.

Parameters

nItem

Zero-based index of the item.

pTabCtrlItem

Pointer to a TCITEM structure that contains the new item attributes. The mask member specifies which attributes to set. If the mask member specifies the TCIF_TEXT value, the pszText member is the address of a null-terminated string and the cchTextMax member is ignored.

Remarks

Call this function to set some or all of a tab’s attributes.

Example

See the example for GetItem.

CTabCtrl OverviewClass MembersHierarchy Chart

See Also   CTabCtrl::InsertItem, CTabCtrl::GetItem