msgs12.hlp (Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
MM_ENDMENUMODE (1.2)
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