Page 72 - DCAP408_WEB_PROGRAMMING
P. 72

Windows Programming




                    Notes
















                                   4.8.1 Types of Scroll Bars


                                   There are two types of scroll bars: vertical or horizontal. A vertical scroll bar permits the user to
                                   navigate up and down on a document or a section of a window. A horizontal scroll bar permits
                                   the user to navigate left and right on a document or a section of a window.

                                   As far as Microsoft Windows is considered, there are two groups of scroll bars: automatic and
                                   control-based.
                                   To create scroll bars, follow the steps as below:

                                   1.  Since Borland C++BuilderX is free, we are going to utilize it. Begin Borland C++ Builder X
                                       and, on the main menu, click File -> New...


































                                   2.  In the Object Gallery dialog box, click New GUI Application and click OK
                                   3.  In the New GUI Application Project Wizard - Step 1 of 3, in the Directory edit box of the
                                       Project  Settings section, type the path you  desire. Or else, type  C:\Programs\Win32
                                       Programming




          66                                LOVELY PROFESSIONAL UNIVERSITY
   67   68   69   70   71   72   73   74   75   76   77