Creating a New Application with AppWizard

Scribble: MDI Drawing Application, Lesson 2

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 learn about the steps and tools used in developing and building an application, starting with AppWizard-generated files.

Suggested Reading

  • , Visual C++ Programmer’s Guide

  • , Visual C++ Programmer’s Guide

  • , Visual C++ User’s Guide

  • , Visual C++ User’s Guide

  • , Visual C++ User’s Guide

  • , Visual C++ Programmer’s Guide

  • , Visual C++ Programmer’s Guide

  • , Visual C++ Programmer’s Guide

  • , Visual C++ Programmer’s Guide

  • , Visual C++ Programmer’s Guide

Once you’ve completed your initial application design, you’ll typically perform the following tasks to develop the application with the development environment and the Microsoft Foundation Class Library (MFC):

  • Use AppWizard to create a set of C++ starter files and associated Windows resources — a starter application that you can build and run immediately.

  • Use the resource editors to construct the objects that make up the user interface, such as menus and dialog boxes.

  • Use elements of the development environment to generate and edit application-specific code:

    • The text editor

    • ClassView

    • ClassWizard

    • WizardBar

  • Build, browse, test, and debug your project files — then add more code.

The steps tend to be iterative: You’ll go back and forth between editing the user interface and writing code all through the development process. You can also do the steps in a different order, depending on your working style.