Index

Instructor

Definitions

Menus
  Icon Basics
  Menu Basics 1
  Menu Basics 2
  Structure
  Menu Coding
  Messages

Menu Quiz

Processing Menu Messages


With the menu in place, and the code for to create it in the place, each specific message must be handled in the program when the user clicks on a specific menu item.

To do this, process WM_COMMAND messages that are given per ID of the menu items. These may be numbers or unique strings.

Remember that the message ID is held in LOWORD of wParam.