Menus Messages

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

The following table shows the menu messages, with a description of the purpose of each.

Programming element Description

WM_COMMAND

This message is sent when the user selects a command item from a menu, when a control sends a message to its parent window, or when an accelerator keystroke is translated.

WM_ENTERMENULOOP

This message informs an application's main window procedure that a menu modal loop has been entered.

WM_EXITMENULOOP

This message informs an application's main window procedure that a menu modal loop has been exited.

See Also

Reference

Menus Reference