The application you are going to build today will have a number of controls on a single dialog window, as shown in Figure 2.2. These controls have a number of different functions. At the top of the window is an edit field where the user can enter a message that displays in a message box when he or she clicks the button beside the field. Below this edit field are two buttons that either populate the edit field with a default message or clear the edit field. Below these buttons is a drop-down list box that contains a list ofstandard Windows applications. When the user selects one of these programs and then
clicks the button beside the drop-down list, the selected program will run. Next are two groups of check boxes that affect the controls you add to the top half of the dialog: the controls for displaying a user message and the controls for running another program.
The left set of check boxes will enable and disable each group of controls you provide.
The right set of check boxes will show and hide each group of controls. At the bottom of the dialog box is a button that can be clicked to close the application