共用方式為


Create a Program with the MFC ActiveX ControlWizard

OverviewDetails

When you first create an ActiveX (formerly OLE) Control Program, you use the MFC ActiveX ControlWizard to lead you through a series of dialog boxes in which you choose options for the features and functions of your program.

The series is a branching path; you can move forward and backward through the steps and make changes to the options you have selected. Help is available for every option in the MFC ActiveX ControlWizard: right-click on the control for more information about each option.

To create an MFC ActiveX Control program

  1. On the File menu, click New and then click the Projects tab.

  2. Specify the Project Name, Location, Workspace, Dependency, and Platforms options and then double-click the MFC ActiveX ControlWizard icon.

  3. Complete the steps of the MFC ActiveX ControlWizard by choosing the appropriate options for your program. Click here for a step-by-step explanation of the MFC ActiveX Control Wizard.

  4. Prepare your ActiveX Control for use. Click here for more details.