TCM_SETITEM
This message sets some or all of a tabs attributes. You can send this message explicitly or by using the TabCtrl_SetItem macro.
TCM_SETITEM wParam = (WPARAM)(int) iItem;
lParam = (LPARAM)(TC_ITEM FAR *) pitem;
Parameters
iItem
Index of the item.pitem
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 LVIF_TEXT value, the pszText member is the address of a null-terminated string and the cchTextMax member is ignored.
Return Values
TRUE indicates success. FALSE indicates failure.
Requirements
| Runs on | Versions | Defined in | Include | Link to |
|---|---|---|---|---|
| Windows CE OS | 1.0 and later | Commctrl.h |
Note This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.
See Also
Last updated on Tuesday, July 13, 2004
© 1992-2000 Microsoft Corporation. All rights reserved.