Page 67 - DCAP408_WEB_PROGRAMMING
P. 67

Unit 4: Windows Controls




          This time, to choose an item, the user can just locate it in the list and click it.   Notes
          In both types of combo boxes, if the list is too long for the assigned space, when it exhibits, the
          list part is equipped with a vertical scroll bar. This permits the user to navigate up and down in
          the list to locate the desired item:































































          4.7.1  Creating a Combo Box


          Three are two main manners in which you can create a combo box. You can write code or utilize
          a script. To create a combo box with code, you can first create a Windows class that defines an
          HWND handle and executes the allocations of a combo box.




                                           LOVELY PROFESSIONAL UNIVERSITY                                   61
   62   63   64   65   66   67   68   69   70   71   72