The Files You Work With

Follow the steps described in Creating a New Application with AppWizard in Lesson 2 to create the starter Scribble application files. Even if you aren’t planning to add the tutorial code yourself, you can easily follow this procedure. It’s a good way to learn to use this tool.

Suggested Reading

  • , Visual C++ User’s Guide

  • , Visual C++ Programmer’s Guide

  • , Visual C++ User’s Guide

  • , Visual C++ User’s Guide

  • , Visual C++ Programmer’s Guide

For most of the procedures that follow, you will need to deal with only a few of the files generated by AppWizard:

  • Document class files: ScribbleDoc.h (the header file) and ScribbleDoc.cpp (the implementation file)

  • View class files: ScribbleView.h and ScribbleView.cpp

You’ll also occasionally refer to or edit Scribble.h and Scribble.cpp, the application class files.

Tip   Use ClassView to work with your code without explicitly opening the file. See Navigating Through Code in Lesson 2 for detailed instructions.

For tutorial lessons covering the resource editors, you will work in the ResourceView pane, which displays the contents of Scribble.rc, the application’s resource file (or files). Usually, you do not need to open the file Scribble.rc directly; rather, just manipulate the resources from the ResourceView pane.

You can examine the other files created by AppWizard and ClassWizard, but you probably won’t need to alter them. For more information about the starter application files that AppWizard creates, see the ReadMe.txt file, created by AppWizard, in your Scribble project root directory.