typedef struct tagDELETEITEMSTRUCT { /* ditms */
UINT CtlType;
UINT CtlID;
UINT itemID;
HWND hwndItem;
UINT itemData;
} DELETEITEMSTRUCT;
The DELETEITEMSTRUCT structure describes a deleted owner-draw list-box or combo-box item. When an item is removed from the list box or combo box, or when the list box or combo box is destroyed, Windows sends the WM_DELETEITEM message to the owner for each deleted item; the lParam parameter of the message contains a pointer to this structure.
CtlType
Contains ODT_LISTBOX (which specifies an owner-draw list box) or ODT_COMBOBOX (which specifies an owner-draw combo box).
CtlID
Contains the control ID for the list box or combo box.
itemID
Contains the index of the item in the list box or combo box being removed.
hwndItem
Contains the window handle of the control.
itemData
Contains the value passed to the control in the lParam parameter of the LB_INSERTSTRING, LB_ADD-STRING, CB_INSERTSTRING, or CB_ADD-STRING message when the item was added to the list box.