Export (0) Print
Expand All

TCM_SETITEM message

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

Parameters

wParam

Index of the item.

lParam

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.

Return value

Returns TRUE if successful, or FALSE otherwise.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Commctrl.h

Unicode and ANSI names

TCM_SETITEMW (Unicode) and TCM_SETITEMA (ANSI)

 

 

Community Additions

ADD
Show:
© 2014 Microsoft