LITEM (Compact 2013)
3/28/2014
This structure is used to set and retrieve information about a link item.
Syntax
typedef struct tagLITEM{
UINT mask ;
int iLink ;
UINT state ;
UINT stateMask ;
WCHAR szID[MAX_LINKID_TEXT] ;
WCHAR szUrl[L_MAX_URL_LENGTH] ;
} LITEM, *PLITEM ;
Members
- mask
A UINT that contains one or more Link Information Flags that specify what information to set or retrieve.
- iLink
An int that contains the item index. This numeric index is used to specify a SysLink control link.
- state
Any combination of Link Item State Flags, describing the state of the specified link.
stateMask
Combination of flags that describe which state value(s) to set or retrieve.Allowed items are identical to those allowed in state.
szID
A WCHAR string that contains the ID name.The maximum number of characters in the array is MAX_LINKID_TEXT.
The ID name cannot be used to specify a SysLink control link.
szUrl
A WCHAR string that contains the URL represented by the link.The maximum number of characters in the array is L_MAX_URL_LENGTH.
Remarks
Items are always accessed by index. Therefore you must always set the LIF_ITEMINDEX flag in the mask and assign a value to iLink. To obtain the item ID name, you must set both LIF_ITEMINDEX and LIF_ITEMID in the mask.
Requirements
Header |
commctrl.h |