Index

Instructor

Definitions

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

Menu Quiz

Coding the Menu


After the menu has been created, it must be included in your program with its own code.
There are many different techniques to accomplish this, but here is one method.

Notice how the wndclass.lpszMenuName = value is defined as the same as the name of the menu we created earlier. TEXT("menu") is used to define menu as a string, not a variable.