Dialog Boxes
Dialog boxes let you enter new information or view or change existing settings. A dialog box is a small temporary window that a program displays to respond to a command or event (Figure 1.43 ).
Figure 1.43. Dialog boxes let you change settings by using buttons, check boxes, text boxes, lists, and other controls.
[View full size image]

OK, Cancel, Apply
Most dialog boxes have an OK button and a Cancel button, and many have an Apply button too. The differences are:
OK. Saves your changes and closes the dialog box (often equivalent to pressing Enter).
Cancel. Discards your changes and closes the dialog box (equivalent to pressing Esc).
Apply. Saves your changes and leaves the dialog box open for more changes. Apply is handy if you want to try out a change with the chance to change it right back.
The Apply button's behavior has a slight wrinkle: If you click Apply and then click Cancel, changes made
before you click Apply are saved, but changes made
after you click Apply are lostusually, that is. Some programs behave differently.

Dialog boxes appear when you must enter more information to complete a command. See the sidebar in "Menus" earlier in this chapter.
The differences between dialog boxes and normal windows are:
File Open and File Save dialog boxes usually are resizable, to let you vary the number of files that they display. Most other dialog boxes aren't resizable.
Some open dialog boxes won't let you keep working in their program until you close them. You still can use other programs, though.
When you edit text in a dialog box, you can't use the Edit menu to cut, copy, and paste, but you can use keyboard shortcuts (Ctrl+X, Ctrl+C, and Ctrl+V) or right-click to use a shortcut menu.
Use keyboard shortcuts to navigate dialog boxes quickly (Table 1.5 ).
A
wizard is a series of interactive dialog boxes that steps you through a complex task (Figure 1.44 ).
Figure 1.44. Use the Back and Next buttons to step through a wizard. You can cancel a wizard to make your settings manually.
[View full size image]

Windows uses a
message box to notify you of events or ask for a decision (Figure 1.45 ).
Figure 1.45. Message boxes bring your program to a halt. You must respond before the program can do anything further.

Table 1.5. Dialog-Box Keyboard Shortcuts
PRESS TO
Ctrl+Tab
Select the next tab
Ctrl+Shift+Tab
Select the previous tab
Tab
Select the next option
Shift+Tab
Select the previous option
Alt+underlined letter
Select the corresponding option or click the corresponding button
Spacebar
Click a button, toggle a check box, or choose an option button (if that option is active)
Arrow keys
Select an item in an option-button group or list, or move a slider
F1
Display Help
F4
Display list items
Enter
Click the selected button (with the dotted outline) or the default button (with the shadow)
Esc
Click the Cancel button