MM ENDMENUMODE
Appearance
This message is sent to a menu control to terminate menu selection.
Syntax
param1 USHORT usdismiss; /* Dismiss menu indicator. */ param2 ULONG ulReserved; /* Reserved value, should be 0. */
Parameters
- usdismiss (USHORT) - input
- Dismiss menu indicator.
- TRUE: Dismiss the submenu or subdialog window.
- FALSE: Do not dismiss the submenu or subdialog window.
- ulReserved (ULONG) - input
- Reserved value, should be 0.
Returns
- ulReserved (ULONG) - return
- Reserved value, should be 0.
Remarks=
The menu control window procedure responds to this message by terminating menu selection.
- Note
- It must be sent, not posted, to the menu control.
Default Processing
The default window procedure does not expect to receive this message and, therefore, takes no action on it, other than to set ulReserved to the default value of 0.