Page 198 - DCAP408_WEB_PROGRAMMING
P. 198

Windows Programming                                              Anil Sharma, Lovely Professional University




                    Notes                               Unit 12: Dialog Boxes (II)


                                     CONTENTS
                                     Objectives
                                     Introduction

                                     12.1 Exchanging Data with a Dialogue Box – Global Variable Method
                                          and Pointer Method
                                     12.2 Problems in Global Variables

                                          12.2.1  Why Global Variables should be avoided when Unnecessary?
                                          12.2.2  Why the  Convenience  of  Global  Variables  sometimes  Outweighs  the
                                                 Potential  Problems?

                                     12.3 Exchanging Data with a Dialog Box – Pointer Method
                                     12.4 Modal, Modeless and System Modal Dialog Boxes
                                          12.4.1  Modal Dialog Box

                                          12.4.2  Modeless Dialog Box
                                          12.4.3  System Modal Dialog Box
                                     12.5 Creating a Modeless Dialog Box
                                     12.6 Summary
                                     12.7 Keywords

                                     12.8 Review Questions
                                     12.9 Further Readings

                                   Objectives

                                   After studying this unit, you will be able to:

                                      Understand the concept of exchanging data with a dialog box using global variable method
                                       and pointer method

                                      Discuss problems in global variables
                                      Understand modal, modeless, and system modal dialog boxes
                                      Illustrate creating modeless dialog box

                                   Introduction

                                   In this unit you will understand the process of exchanging data with a dialog box by means of
                                   Global Variable Method and Pointer Method. Also you will recognize various types of dialog
                                   boxes such as modal dialog box, modeless dialog box, and system modal dialog box. Creating
                                   a modeless dialog box is also discussed in this unit.









          192                               LOVELY PROFESSIONAL UNIVERSITY
   193   194   195   196   197   198   199   200   201   202   203