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_STARTMENUMODE (1.2)
Message Group  Overview                           Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define INCL_WINMENUS
 
MM_STARTMENUMODE
mp1 = MPFROM2SHORT((BOOL) fShowSubmenu, (BOOL) fResumeMenu);
mp2 = 0L;     /* not used, must be zero */
 
An application posts an MM_STARTMENUMODE message to begin menu selection.
 
Parameter     Description
────────────────────────────────────────────────────────────────────────────
 
fShowSubmenu  Low word of mp1. Specifies whether to show the submenu of the
              selected menu. A value of TRUE shows the submenu. This
              parameter is ignored if the selected menu does not have a
              submenu.
 
fResumeMenu   High word of mp1. Specifies whether the menu is resumed. A
              value of TRUE causes the menu interaction to resume.
 
Return Value
 
The return value is TRUE if the operation is successful or FALSE if an error
occurs.
 
Comments
 
The MM_STARTMENUMODE message must be posted, not sent.
 
See Also
 
MM_ENDMENUMODE