Home | Overview | How Do I | Sample | Tutorial
When it creates a skeleton application, AppWizard declares an application class derived from CWinApp. AppWizard also generates an implementation file that contains the following items:
InitInstance
member functionThe 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
.