Chapter 19. Toolbars and More Graphics

In Hour 17, "Menus and Visual Basic," you learned how to add menus to your applications. Many applications use toolbars with buttons that mimic menu options. Toolbars are part of most major Windows applications, and they can be part of yours as well. In addition, you can draw your own graphics on the form. Although VB's graphic-drawing tools are fairly primitive, you can draw lines and circles and other basic shapes to accent and highlight areas of your form.

The highlights of this hour include

  • What the Image List control does

  • How to add the Toolbar control to the Toolbox window

  • Why you must connect the image list to the toolbar

  • How to respond to toolbar events

  • When to use the Line and Shape controls

  • How to accent ...

Get Sams Teach Yourself Visual Basic® 6 in 24 Hours 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.