Developing User Interfaces for Microsoft Windows

When is a dialog box necessary? Of course, that depends on the dialog box and how it is used. Dialog boxes are often necessary for the following situations:

These are all good reasons to use dialog boxes, but the best programs strive to make sure that you don't need dialog boxes for routine commands. Consider Microsoft Word. It has dozens of dialog boxes, yet for normal word processing you don't need to use any of them except for the Open and Save As dialog boxes. For example, Word has a Font dialog box that allows you to select a font's typeface; its size; whether it is regular, bold, italic, or underlined; its color; and its various other attributes, such as superscript, subscript, small caps, or hidden. However, since the most useful of these attributes are also on the toolbar, I almost never use this dialog box. Surprisingly, the same can be said for most of the other dialog boxes found in Word. If the user constantly has to access a dialog box to perform a routine command, this is a sign of an unnecessary dialog box.

TIP


Having to constantly access a dialog box to perform a routine command is a sign of an unnecessary dialog box.

Категории