Share via


CWinApp and AppWizard

OverviewHow Do ITutorial

When it creates a skeleton application, AppWizard declares an application class derived from . AppWizard also generates an implementation file that contains the following items:

  • A message map for the application class

  • An empty class constructor

  • A variable that declares the one and only object of the class

  • A standard implementation of your InitInstance member function

The application class is placed in the project header and main source files. The names of the class and files created are based on the project name you supply in AppWizard. The easiest way to view the code for these classes is through the Class View in the Project Workspace window.

The standard implementations and message map supplied are adequate for many purposes, but you can modify them as needed. The most interesting of these implementations is the InitInstance member function. Typically you will add code to the skeletal implementation of InitInstance.

What do you want to know more about?