Delen via


MFC Wizards and Dialog Boxes

The Microsoft Foundation Class (MFC) wizards generate boilerplate code for various kinds of components and objects. You can run the wizards by opening the shortcut menu for a project in Solution Explorer and choosing Add, Class.

Title

Description

Creating an MFC DLL Project

Creates a DLL based on MFC.

Creating an MFC Application

Generates an MFC application.

Creating an MFC ActiveX Control Container

Generates a container for an ActiveX control.

Creating an MFC ActiveX Control

Generates an ActiveX control based on MFC.

Adding an MFC Class

Creates a basic class.

Adding an MFC Class from a Type Library

Generates a class and populates it based on the type library that you specify.

Adding an MFC Message Handler

Creates a handler for a Windows message.

Adding an MFC ODBC Consumer

Creates a component that can communicate with an ODBC database.

Adding ATL Support to Your MFC Project

Creates headers and macros that are required by the Active Template Library (ATL).

MFC Class Wizard

Creates an .h file and a .cpp file.

MFC Desktop Applications

Links to the MFC documentation.