DELETEITEMSTRUCT
This structure describes a deleted list box or combo box item. The lParam parameter of a WM_DELETEITEM message contains a pointer to this structure. When an item is removed from a list box or combo box or when a list box or combo box is destroyed, Windows sends the WM_DELETEITEM message to the owner for each deleted item.
typedef struct tagDELETEITEMSTRUCT (
UINT CtlType;
UINT CtlID;
UINT itemID;
HWND hwndItem;
UINT itemData;
} DELETEITEMSTRUCT;
Members
CtlType
Specifies whether the item was deleted from a list box or a combo box. It is one of the following values:Value Description ODT_LISTBOX Item was deleted from a list box. ODT_COMBOBOX Item was deleted from a combo box. CtlID
Specifies the identifier of the list box or combo box.itemID
Index of the item in the list box or combo box being removed.hwndItem
Handle to the control.itemData
Specifies application-defined data for the item. This value is passed to the control in the lParam parameter of the message that adds the item to the list box or combo box.
Requirements
Runs on | Versions | Defined in | Include | Link to |
---|---|---|---|---|
Windows CE OS | 1.0 and later | Winuser.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.