Page 54 - DCAP408_WEB_PROGRAMMING
P. 54

Windows Programming




                    Notes          each  control  must  have  an  exclusive  integer  identifier  (at  the  tenth  argument  of  the
                                   CreateWindowEx function).
                                   If you open the application, winst.exe, by double-clicking on it, you would observe the 2 controls
                                   with the static control above the edit control. The static control contains the text “First Name”
                                   signifying that the user should type his first name in the edit control.

                                   That is it for this part of the series. We stop here and carry on in the next part.
                                   To turn up at any of the parts, just type the corresponding title below in the Search Box of this
                                   page and click Search

                                   A Window Button Function and Macro
                                   Windows Static Control
                                   Static Control Styles

                                   Sending Messages to a Control

                                   All static controls are  generated with  the CreateWindowEx  API function by changing  the
                                   window  styles. The  API function CreateWindow can also be  utilized. A new API  function
                                   - SendMessage - is introduced. This function is utilized to converse with windows and controls.

                                   Self Assessment

                                   Fill in the blanks:
                                   3.  A ................................. control is like an edit control, but it does not obtain typed input from
                                       the user.
                                   4.  All static controls are generated with the ................................. API function by changing the
                                       window styles.

                                   4.4 C Language Casts

                                   The controls at the top of the Cast window are the similar in both the List and Thumbnail views.
                                   Use the controls to modify the cast that occurs in the Cast window, the cast member selection, or
                                   the name of a cast member. You can also utilize them to shift cast members and to open a cast
                                   member’s Script window or the Property inspector.








                                   Cast Window Controls

                                   A.
                                       Cast
                                   B.

                                       Cast View Style
                                   C.
                                       Previous/Next Cast Member



          48                                LOVELY PROFESSIONAL UNIVERSITY
   49   50   51   52   53   54   55   56   57   58   59