Page 187 - DCAP408_WEB_PROGRAMMING
P. 187

Anil Sharma, Lovely Professional University                                      Unit 11: Dialog Boxes (I)





                                Unit 11: Dialog Boxes (I)                                       Notes


            CONTENTS
            Objectives
            Introduction

            11.1 What is a Dialog Box?
            11.2 How a Dialog Box Works?
            11.3 Designing a Dialog Box

                 11.3.1  Create the Dialog Box
                 11.3.2  Adding the Controls
            11.4 Using a Dialog Box
            11.5 Summary
            11.6 Keywords

            11.7 Review Question
            11.8 Further Readings

          Objectives

          After studying this unit, you will be able to:

              Understand the concept of dialog boxes
              Discuss the working of dialog box
              Recognize designing a dialog box and using a dialog box

          Introduction

          All the GUI applications keep prompting and conversing to the users, by means of dialog boxes.
          Dialog boxes have been the only interface by which an application can converse to its users, and
          it will be till the Speech Oriented Software become practicable. This unit covers the concept of
          designing dialog boxes and using dialog boxes.

          11.1 What is a Dialog Box?

          A dialog box is defined as a rectangular window whose major role is to hold other Windows
          controls. For this cause, a dialog box is pointed to as a container. It is the chief interface of user
          communication with the computer. By itself, a dialog box means nothing. The controls it holds
          achieve the role of dialog among the user and the machine.
          A dialog box has the following traits:
              It is equipped with the system Close button    . As the only system button, this button
               permits the user to release the dialog and overlook whatever the user would have done on
               the dialog box.

              It cannot be minimized, maximized, or restored. A dialog box does not have any other
               system button but Close.



                                           LOVELY PROFESSIONAL UNIVERSITY                                   181
   182   183   184   185   186   187   188   189   190   191   192