共用方式為


MFC Wizards and Dialog Boxes

 

The latest version of this topic can be found at 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.
MFC Class Creates a basic class.
MFC Class from a Type Library Generates a class and populates it based on the type library that you specify.
MFC Message Handler Creates a handler for a Windows message.
MFC ODBC Consume Creates a component that can communicate with an ODBC database.
ATL Support in an 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.