Page 49 - DCAP408_WEB_PROGRAMMING
P. 49

Kumar Vishal, Lovely Professional University                                   Unit 4: Windows Controls





                               Unit 4: Windows Controls                                         Notes


            CONTENTS
            Objectives
            Introduction

            4.1  Window
                 4.1.1  Types of Window Controls
            4.2  The Create Windows() Function

            4.3  Static Controls
            4.4  C language Casts
            4.5  Button Controls
                 4.5.1  Creating a Push Button
                 4.5.2  Characteristics of a Command Button

                 4.5.3  Enabling or Disabling a Button
                 4.5.4  The OK and Cancel Buttons
                 4.5.5  Processing

                 4.5.6  Button Notification Codes
            4.6  List Boxes
                 4.6.1  Adding Items
                 4.6.2  Getting Data from the ListBox
            4.7  Combo Boxes

                 4.7.1  Creating a Combo Box
                 4.7.2  Characteristics of a Combo Box
            4.8  Scroll Bars

                 4.8.1  Types of Scroll Bars
                 4.8.2  Automatic Scroll Bars
                 4.8.3  Control-based Scroll Bars
            4.9  Edit Controls
                 4.9.1  Edits with Numbers

            4.10 Summary
            4.11 Keywords
            4.12 Review Questions

            4.13 Further Readings








                                           LOVELY PROFESSIONAL UNIVERSITY                                   43
   44   45   46   47   48   49   50   51   52   53   54