Page 166 - DCAP408_WEB_PROGRAMMING
P. 166

Windows Programming                                             Kumar Vishal, Lovely Professional University




                    Notes                                      Unit 10: Menus


                                     CONTENTS
                                     Objectives
                                     Introduction

                                     10.1 Creating Menus
                                     10.2 Menu defined as Resource Data
                                     10.3 Creating a Menu using the Borland Resource Workshop

                                     10.4 Complex Menu
                                          10.4.1  Standard Functionality of Shortcut Keys
                                     10.5 Creating a Menu as a Program Operates
                                     10.6 Creating Menu Containing Bitmaps and the System Menu
                                          10.6.1  Creating Menu Containing Bitmaps

                                          10.6.2  The System Menu
                                     10.7 Summary
                                     10.8 Keywords

                                     10.9 Review Questions
                                     10.10 Further Readings

                                   Objectives

                                   After studying this unit, you will be able to:
                                      Understand the concept of creating menus

                                      Illustrate Menu defined as resource data
                                      Discuss creating a menu using the borland resource workshop
                                      Understand the concept of complex menu

                                      Recognize how to creating menu containing bitmaps
                                      Discuss system menu
                                   Introduction


                                   Menus are a very important element of GUIs. We see menus and we use them in practically
                                   every application, whether MS-Word or MS-Excel or Photoshop or even VB. In this unit, we will
                                   focus on creating menus using VB.

                                   10.1 Creating Menus

                                   For getting started with menus, we  get going with the  Menu Editor.  This tool helps us  to
                                   effortlessly create a menu interface for our applications, that too in no time. To invoke the menu
                                   editor, we either:




          160                               LOVELY PROFESSIONAL UNIVERSITY
   161   162   163   164   165   166   167   168   169   170   171