English 中文(简体)
MFC - VC++ Projects
  • 时间:2024-11-05

MFC - VC++ Projects


Previous Page Next Page  

In this chapter, we will be covering the different types of VC++ projects. Visual Studio includes several kinds of Visual C++ project templates. These templates help to create the basic program structure, menus, toolbars, icons, references, and include statements that are appropriate for the kind of project you want to create. Following are some of the sapent features of the templates.

    It provides wizards for many of these project templates and helps you customize your projects as you create them.

    Once the project is created, you can build and run the apppcation.

    You don t have to use a template to create a project, but in most cases it s more efficient to use project templates.

    It s easier to modify the provided project files and structure than it is to create them from scratch.

In MFC, you can use the following project templates.

Sr.No. Project Template & Description
1

MFC Apppcation

An MFC apppcation is an executable apppcation for Windows that is based on the Microsoft Foundation Class (MFC) Library. The easiest way to create an MFC apppcation is to use the MFC Apppcation Wizard.

2

MFC ActiveX Control

ActiveX control programs are modular programs designed to give a specific type of functionapty to a parent apppcation. For example, you can create a control such as a button for use in a dialog, or toolbar or on a Web page.

3

MFC DLL

An MFC DLL is a binary file that acts as a shared pbrary of functions that can be used simultaneously by multiple apppcations. The easiest way to create an MFC DLL project is to use the MFC DLL Wizard.

Following are some General templates which can also be used to create MFC apppcation −

Sr.No. Project Template & Description
1

Empty Project

Projects are the logical containers for everything that s needed to build your apppcation. You can then add more new or existing projects to the solution if necessary.

2

Custom Wizard

The Visual C++ Custom Wizard is the tool to use when you need to create a new custom wizard. The easiest way to create a custom wizard is to use the Custom Wizard.

Advertisements