HOWTO: Cancel an Active MenuID: Q203372
|
To cancel an active menu send a WM_CANCELMODE message to the window that owns it.
When you send the WM_CANCELMODE message to the owner window of an active menu, the window exits the menu mode. You can use this technique to force the abandonment of active TrackPopupMenu or TrackPopupMenuEx.
Additional query words:
Keywords : kbMenu kbNTOS kbSDKPlatform kbGrpUser kbWinOS
Version : WINDOWS:95
Platform : WINDOWS
Issue type : kbhowto
Last Reviewed: February 4, 1999