◄Message Group► ◄Overview► ◄Up► ◄Next► ◄Previous► ──────────────────────────────────────────────────────────────────────────── #define INCL_WINLISTBOXES LM_QUERYITEMHANDLE mp1 = MPFROMSHORT((SHORT) iItem); /* item index */ mp2 = 0L; /* not used, must be zero */ An application sends an LM_QUERYITEMHANDLE message to get the handle of the specified item in a list box. Parameter Description ──────────────────────────────────────────────────────────────────────────── iItem Low word of mp1. Specifies the index of the item. Return Value The return value is the item handle if the operation is successful, or zero if the item does not exist or an error occurred. See Also LM_SETITEMHANDLE ♦