TabCtrl_SetItemTabCtrl_SetItem*
*Contents  *Index  *Topic Contents
*Previous Topic: TabCtrl_SetImageList
*Next Topic: TabCtrl_SetItemExtra

TabCtrl_SetItem


BOOL TabCtrl_SetItem(
    HWND hwnd, 		
    int iItem, 		
    LPTCITEM pitem		
);		

Sets some or all of a tab's attributes. You can use this macro or send the TCM_SETITEM message explicitly.

hwnd
Handle to the tab control.
iItem
Index of the item.
pitem
Address of a TCITEM structure that contains the new item attributes. The mask member specifies which attributes to set.
If the mask member specifies the LVIF_TEXT value, the pszText member is the address of a null-terminated string and the cchTextMax member is ignored.

Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.