Export (0) Print
Expand All

The MFC ActiveX ControlWizard: Step-by-Step

Visual Studio 6.0

http://msdn.microsoft.com/en-us/library/aa241105(v=vs.60).aspxOverviewDetailshttp://msdn.microsoft.com/en-us/library/ms386053(v=vs.60).aspx

The MFC ActiveX ControlWizard series has 2 steps. 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 each step: right-click on the control for more information about each option.

To complete Step 1

  1. Choose the number of controls you would like your project to have. ControlWizard can generate up to 99 separate controls per project. Each control has a control class and a property page class.

  2. Choose whether or not you want the controls in your project to have a run-time license.

  3. Choose whether or not you would like the MFC ActiveX ControlWizard to generate comments in the source file that will guide you in writing your program.

  4. Choose whether or not you want the MFC ActiveX ControlWizard to generate help files that are used to provide context-sensitive Help. Help support requires using the Help compiler, which is provided with Visual C++.

To complete Step 2

  1. If you added more than one control to your project and you want to edit the names of the classes or files they use, select the control you want to edit from the list and click Edit Names. Repeat this procedure for each control you want to edit.

  2. Select the features you would like each control to have.

  3. Select which window class, if any, you want for each control.

  4. Click Advanced to add windowless activation, mouse pointer notifications, optimized drawing code, or asynchronous loading properties to each control.

  5. Click Finish and then click here to prepare your ActiveX control for use.

Note ControlWizard creates a bitmap that you can use on a toolbar or in the toolbox in Visual Basic, where Visual Basic programmers can use your control on their forms. See Toolbars for more information.

Show:
© 2014 Microsoft