Some menu buttons invoke child menus. Depending on the state of the current model, some of the child menu buttons may be inactive. If a menu button is inactive, it is displayed in a different color and will not produce the indicated action when pressed. Each entry in a sub-menu performs a unique action. Sub-lists are used to display a list of available items that can be selected to control other commands.
Dialog boxes provide a way of collecting arbitrary data from the user.
For example, the dialog box in Figure 2.2 collects text, a floating point value, and optional data based on toggle boxes. Dialog boxes are blocking, meaning that you must either select Accept or Cancel in the dialog box before you can continue with any other commands. These boxes can be moved around the desktop by pressing the right mouse button while the cursor is anywhere on the box and then dragging it. Example generic dialog box.