DELETEITEMSTRUCT 구조체

The DELETEITEMSTRUCT structure describes a deleted owner-drawn list-box or combo-box item.

typedef struct tagDELETEITEMSTRUCT { /* ditms */ 
    UINT CtlType; 
    UINT CtlID; 
    UINT itemID; 
    HWND hwndItem; 
    UINT itemData; 
} DELETEITEMSTRUCT;

매개 변수

  • CtlType
    Specifies ODT_LISTBOX (an owner-drawn list box) or ODT_COMBOBOX (an owner-drawn combo box).

  • CtlID
    Specifies the identifier of the list box or combo box.

  • itemID
    Specifies index of the item in the list box or combo box being removed.

  • hwndItem
    컨트롤을 식별합니다.

  • 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.

설명

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.

요구 사항

헤더: atldbcli.h

참고 항목

참조

CWnd::OnDeleteItem

기타 리소스

구조체, 스타일, 콜백 및 메시지 맵