Platform SDK: Win32 API

The Menu

Most applications include a menu to provide a means for the user to select commands. The most common way to create a menu is to define it as a resource in the resource-definition file. The GENERIC application has a single menu, named Help, with a single command, About. The resource is defined as follows:

GenericAppMenu MENU
{
   POPUP "&Help"
   {
      MENUITEM "&About",         IDM_ABOUT
   }
}

The name of the menu resource is specified when registering the window class.

Selecting the About command causes GENERIC to display the about dialog box.