Main Menus and Pop-up Menus

Windows applications use two basic types of menus: top-level menus and pop-up menus. The top-level menu (also called the "main" menu of a program) is a set of commands that is visible in the window's menu bar at all times, assuming the program has a menu. See the style guide in Chapter 1, "Windows 2000 Programming," for a discussion of the basic menu items for an application. For complex programs, it is not practical to put all the menu options that may be needed on the menu bar. This is where pop-up menus (sometimes called submenus, pull-down, or drop-down menus) come in. When selected, the top menu bar items can spawn pop-up menu items with many more options from which to choose.

Building Menus in the Resource ...

Get Microsoft Windows 2000 API SuperBible now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.