Chapter 4. Working with Menus, Toolbars, and Dialog Boxes

After completing this chapter, you will be able to:

  • Add menus to your programs by using the MenuStrip control.

  • Process menu and toolbar selections by using event procedures and the Code Editor.

  • Add toolbars and buttons by using the ToolStrip control.

  • Use the OpenFileDialog and ColorDialog controls to create standard dialog boxes.

  • Add access keys and shortcut keys to menus.

In Chapter 3, Chapter 3, you used several Microsoft Visual Studio 2008 controls to gather input from the user while he or she used a program. In this chapter, you'll learn how to present choices to the user by creating professional-looking menus, toolbars, and dialog boxes.

A menu is located on the menu bar and contains a list ...

Get Microsoft® Visual Basic® 2008 Step by Step now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.