TCM_SETITEMTCM_SETITEM*
*Contents  *Index  *Topic Contents
*Previous Topic: TCM_SETIMAGELIST
*Next Topic: TCM_SETITEMEXTRA

TCM_SETITEM


TCM_SETITEM 
    wParam = (WPARAM) (int) iItem;
    lParam = (LPARAM) (LPTCITEM) pitem;

Sets some or all of a tab's attributes. You can send this message explicitly or by using the TabCtrl_SetItem macro.

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.