◄Message Group► ◄Overview► ◄Up► ◄Next► ◄Previous► ──────────────────────────────────────────────────────────────────────────── #define INCL_WINMENUS MM_ENDMENUMODE mp1 = MPFROMSHORT((BOOL) fDismiss); /* dismiss flag */ mp2 = 0L; /* not used, must be zero */ An application sends an MM_ENDMENUMODE message to terminate menu selection. If the fDismiss parameter is TRUE and a submenu is visible, that window is dismissed (hidden). Parameter Description ──────────────────────────────────────────────────────────────────────────── fDismiss Low word of mp1. Specifies whether a submenu window is to be dismissed. A value of TRUE dismisses the submenu window. Return Value This message does not return a value. See Also MM_STARTMENUMODE ♦