WM_DELETEITEM
A version of this page is also available for
4/8/2010
This message is sent to the owner of a list box or combo box when the list box or combo box is destroyed or when items are removed by the LB_DELETESTRING, LB_RESETCONTENT, CB_DELETESTRING, or CB_RESETCONTENT message. Windows sends a WM_DELETEITEM message for each deleted item. Windows sends the WM_DELETEITEM message for any deleted list box or combo box item with nonzero item data.
Syntax
WM_DELETEITEM idCtl = wParam;
lpdis = (LPDELETEITEMSTRUCT) lParam;
Parameters
- idCtl
Identifier of the control that sent the WM_DELETEITEM message.
- lpdis
Long pointer to a DELETEITEMSTRUCT structure that contains information about the item deleted from a list box.
Return Value
An application should return TRUE if it processes this message.
Requirements
Header | winuser.h |
Windows Embedded CE | Windows CE 1.0 and later |
Windows Mobile | Windows Mobile Version 5.0 and later |
See Also
Reference
CB_DELETESTRING
CB_RESETCONTENT
DELETEITEMSTRUCT
LB_DELETESTRING
LB_RESETCONTENT
List Boxes Messages