Example: Creating a Picture Viewer
In this exercise you’ll create the Picture Viewer program shown in Figure 9-4. This program displays pictures in any of the standard bitmapped formats: BMP, GIF, JPEG, and so forth. However, its main purpose is to illustrate how to create and configure icons, menus, and toolbars, and how to control them once the program is running. You’ll probably be surprised at the number of things that go on behind the scenes of a Windows user interface.
Figure 9-4. This program displays pictures you open from a file or paste from the clipboard.
Creating the Picture Viewer Form
To begin creating the Picture Viewer program, launch ...