Contents Index Topic Contents | ||
Previous Topic: TCITEM Next Topic: Toolbar Controls |
TCITEMHEADER
typedef struct tagTCITEMHEADER{ UINT mask; UINT lpReserved1; UINT lpReserved2; LPTSTR pszText; int cchTextMax; int iImage; } TCITEMHEADER, FAR *LPTCITEMHEADER;Specifies or receives the attributes of a tab. It is used with the TCM_INSERTITEM, TCM_GETITEM, and TCM_SETITEM messages. This structure supersedes the TC_ITEMHEADER structure.
- mask
- Value that specifies which members to retrieve or set. This member can be a combination of the following values:
TCIF_IMAGE The iImage member is valid. TCIF_RTLREADING The text of pszText is displayed using right-to-left reading order on Hebrew or Arabic systems. TCIF_TEXT The pszText member is valid. - lpReserved1
- Reserved member. Do not use.
- lpReserved2
- Reserved member. Do not use.
- pszText
- Address of a null-terminated string that contains the tab text if item information is being set. If item information is being retrieved, this member specifies the address of the buffer that receives the tab text.
- cchTextMax
- Size of the buffer pointed to by the pszText member. If the structure is not receiving information, this member is ignored.
- iImage
- Index into the tab control's image list, or -1 if there is no image for the tab.
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.