Page 186 - DCAP408_WEB_PROGRAMMING
P. 186

Windows Programming




                    Notes          10.9 Review Questions

                                   1.  Illustrate the steps for creating menus.
                                   2.  Explain how to use the menu editor tool.

                                   3.  Write the code for the menus click event.
                                   4.  Enlighten the various types of “Load Resource” functions.
                                   5.  What are the VB predefined constants used for bitmaps, icons, and cursors? Illustrate.
                                   6.  How to Create a menu using the Borland Resource Workshop? Illustrate with example.
                                   7.  What are the two tools used with Microsoft Visual C++ that allow Visual C++ programmers
                                       to add version information to compiled applications? Discuss.
                                   8.  Illustrate the concept of complex menu with example.
                                   9.  Enlighten the steps used to create a menu containing Bitmaps.

                                   10.  Write a code for adding new Menu to System Menu.

                                   Answers: Self  Assessment

                                   1.  Menu Editor                       2.   array
                                   3.  checked                           4.   command
                                   5.  coding                            6.   Shortcut

                                   7.  Resource Editor                   8.   format
                                   9.  Type                              10.  copied
                                   11.  .EXE                             12.  menu system
                                   13.  Flyout                           14.  subclass

                                   15.  WindowProc

                                   10.10 Further Readings




                                   Books       Brent E. Rector, Win32 Programming, Addison-Wesley
                                               Charles Petzold, Programming Windows, Charles Petzold
                                               Roger Mayne,  Windows and Graphics Programming with Visual C++.NET, World
                                               Scientific



                                   Online link  www.reddit.com/.../programming/.../toplevel_windows_and_menus













          180                               LOVELY PROFESSIONAL UNIVERSITY
   181   182   183   184   185   186   187   188   189   190   191