Jacqueline A. Jones
Using Pull-Down Menus
Dev-C++'s integrated environment has pull-down menus that can be activated with a
mouse or with keyboard commands. The list of items across the top of the window is called the
main menu. There is also a hidden list, or pull-down menu, of choices for each item in the
main menu; the pull-down menu becomes visible on the screen when the item is selected;
selecting File from the main menu pulls down the File menu, shown in Figure 9.
As you move through a menu, each of the entries in turn will be highlighted. If an item
on a menu may not be selected, it appears in gray. If an item has an icon to its left, you can
initiate the action by clicking that icon in the main window. If an icon has a set of keys to the
right (like Ctrl+O), you can initiate the action using that set of keystrokes. If an item has an arrow
to the right, it indicates a further submenu (the submenu for File | Open is shown below). You
can select an item from a menu with the mouse or through the keyboard.
Figure 1 File Menu
Mouse Menu Selection
The left button on the mouse is the <Select> or <Enter> button. Three actions that can be
performed with this button are clicking, double clicking, and dragging; here is the meaning of
press the left button once
press the left button twice in rapid succession
press the left button down and hold it while moving the mouse
To select a menu item:
C Move the mouse to the item and click on the item.
To close a menu:
C Click somewhere else in the window.
To close a dialog box without performing an action:
C Click on the close icon in the upper right corner of the box.
C Click on the Cancel button.
To perform some action and then exit from the box:
C Click on the OK button, or on some button specific to the task.
Keyboard Menu Selection
Pressing <Alt> plus