◄Message Group► ◄Overview► ◄Up► ◄Next► ◄Previous► ──────────────────────────────────────────────────────────────────────────── #define INCL_WINMESSAGEMGR WM_MENUEND idMenu = SHORT1FROMMP(mp1); /* menu identifier */ hwndMenu = LONGFROMMP(mp2); /* menu window */ The WM_MENUEND message is sent when a menu is about to terminate. This allows the application to free any resources that were allocated to process the message. Parameter Description ──────────────────────────────────────────────────────────────────────────── idMenu Low word of mp1. Specifies the menu that is terminating. hwndMenu Low and high word of mp2. Identifies the menu window. Return Value An application should return zero if it processes this message. See Also MM_ENDMENUMODE, WM_INITMENU ♦