◄Message Group► ◄Overview► ◄Up► ◄Next► ◄Previous► ──────────────────────────────────────────────────────────────────────────── #define INCL_WINLISTBOXES LM_SETITEMTEXT mp1 = MPFROMSHORT((SHORT) iItem); /* item index */ mp2 = MPFROMP((PSZ) pszText); /* pointer to text to copy */ An application sends an LM_SETITEMTEXT message to copy text from a specified buffer to an item in a list box. Parameter Description ──────────────────────────────────────────────────────────────────────────── iItem Low word of mp1. Specifies the index of the item. pszText Low and high word of mp2. Points to the buffer that contains the text to copy to the item specified by the iItem parameter. Return Value The return value is TRUE if the operation is successful or FALSE if an error occurs. See Also LM_QUERYITEMTEXT ♦