Constructing the User Interface

Scribble: MDI Drawing Application, Lesson 5

Tip   If you prefer working from a printed tutorial, see in MSDN Library Help for details about printing a lesson, a set of topics, or a single topic.

Suggested Reading

  • , Visual C++ Programmer’s Guide

  • , Visual C++ User’s Guide

The next three lessons show how to use some of the tools supplied with the Visual C++ environment and the Microsoft Foundation Class Library (MFC).

  • This lesson explains how to use resource editors to customize Scribble’s default menus and toolbar.

  • Lesson 6, Binding Visual Objects to Code Using WizardBar, describes how to use WizardBar and the text editor to bind Scribble menu items and toolbar buttons to commands, and define message-handler functions to process the commands.

  • Lesson 7, Adding a Dialog Box, shows how to use the dialog resource editor and WizardBar to create a dialog box and connect it to a menu command.

This lesson and the next cover Step 2 of Scribble. You can build the new version of Scribble at the end of Binding Visual Objects to Code Using WizardBar.

Begin with the files in your Scribble project directory. At this point, your files should closely resemble the Step1 source code files.

As you read this lesson, perform all steps that use the resource editors. At the end, your Scribble ResourceView pane should closely resemble the same ResourceView pane in the Scribble\Step2 source files.