다음을 통해 공유


DELETEITEMSTRUCT (Windows CE 5.0)

Send Feedback

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

OS Versions: Windows CE 1.0 and later.
Header: Winuser.h.

See Also

WM_DELETEITEM | List Boxes Structures

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.