Scribble Tutorial

Scribble: MDI Drawing Application, Lesson 1

*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.

In this lesson, you’ll:

Suggested Reading

  • , MSDN Library Help

  • , Visual C++ User’s Guide

Scribble, the application you build in this tutorial, is a small drawing program that poses a realistic trial run in the Windows programming environment of the traditional “Hello, World!” Scribble lets the user draw “Hello, World!” (or any free-hand drawing) by using the mouse and then save the image in a file.

By the end of the tutorial, Scribble has custom menus, Microsoft Messaging Application Programming Interface (MAPI) support, a dialog box with automatic initialization and validation, printing and print preview, scrolling, splitter windows, application Help support, and more: a fitting list of features for a Graphical User Interface (GUI) “Hello, World!” The development environment provides many of these features “for free,” and makes implementing the rest easy.

The following figure shows what Scribble looks like on the screen.

Scribble in Action