windows_programming_notes.nbk: Home | Index | Next Page: WM_DESTROY | Previous Page: WM_DEADCHAR
The WM_DELETEITEM 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. The system sends a WM_DELETEITEM message for each deleted item. The system sends the WM_DELETEITEM message for any deleted list box or combo box item with nonzero item data.
A window receives this message through its WindowProc function.
LRESULT CALLBACK WindowProc(
HWND hwnd, // handle to window
UINT uMsg, // WM_DELETEITEM
WPARAM wParam, // control identifier
LPARAM lParam // item information (LPDELETEITEMSTRUCT)
);
An application should return TRUE if it processes this message.
windows_programming_notes.nbk: Home | Index | Next Page: WM_DESTROY | Previous Page: WM_DEADCHAR
Notebook exported on Monday, 7 July 2008, 18:56:50 PM Eastern Daylight Time