|
Overview |
|
|
|
Group |
|
|
|
Quick Info
Windows NT
| Yes
| Win95
| Yes
| Win32s
| Yes
| Import Library
| -
| Header File
| winuser.h
| Unicode
| No
| Platform Notes
| None
|
|
|
DELETEITEMSTRUCT
The DELETEITEMSTRUCT 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.
Windows NT: Windows sends a WM_DELETEITEM message only for items deleted from an
owner-drawn list box (with the LBS_OWNERDRAWFIXED or LBS_OWNERDRAWVARIABLE style) or
owner-drawn combo box (with the CBS_OWNERDRAWFIXED or CBS_OWNERDRAWVARIABLE
style).
Windows 95: Windows sends the WM_DELETEITEM message for any deleted list box or combo box
item with nonzero item data.
typedef struct tagDELETEITEMSTRUCT { // ditms
UINT CtlType;
UINT CtlID;
UINT itemID;
HWND hwndItem;
UINT itemData;
} DELETEITEMSTRUCT;
Members
CtlType
Specifies one of the following values to indicate whether the item was deleted
from a list box or a combo box:
Value
| Meaning
| ODT_LISTBOX
| A list box.
| ODT_COMBOBOX
| A 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
Identifies 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.
See Also
WM_DELETEITEM
Related Links
Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
TMS Scripter Studio Pro components for Delphi/C++Builder
More Online Helps
Win32 Multimedia Programmer's Reference (mmedia.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages
|