◄Message Group► ◄Overview► ◄Up► ◄Next► ◄Previous► ──────────────────────────────────────────────────────────────────────────── #define INCL_WINLISTBOXES LM_DELETEITEM mp1 = MPFROMSHORT((SHORT) iItem); /* item to be deleted */ mp2 = 0L; /* not used, must be zero */ An application sends an LM_DELETEITEM message to delete an item from a list-box control. Parameter Description ──────────────────────────────────────────────────────────────────────────── iItem Low word of mp1. Specifies the index of the item. Return Value The return value is the number of items remaining in the list. See Also LM_DELETEALL, LM_INSERTITEM ♦