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