Поделиться через


Visual C++ Wizard Model

Visual Studio add-ins are deprecated in Visual Studio 2013. You should upgrade your add-ins to VSPackage extensions. For more information about upgrading, see FAQ: Converting Add-ins to VSPackage Extensions.

The Visual C++ Wizard Model provides automation support for designing wizards and provides methods for the following wizard development issues:

  • Launching UI-based and non-UI-based wizards.

  • Modifying the contents in a wizard's HTML user interface.

  • Handling navigation for the wizard pages.

  • Controlling the user interaction with the HTML user interface.

  • Accessing the Visual C++ Code Model for queries, user input validation, and code generation.

  • Querying type library information.

  • Error handling and error reporting.

The Visual C++ Wizard Model also provides helper methods that are used by the wizards provided with Visual C++.

The following objects are defined in the Visual C++ Wizard Model.

Object

Description

IVCWizCtl object.

The coclass for the IVCWizCtlUI and IVCWizCtl interfaces, containing methods and properties that control a custom wizard's HTML control.

VsWizard object.

The coclass that implements the IDTWizard.Execute method.

WizCombo object.

The coclass for IWizCombo containing methods, properties, and events that control a custom wizard's combo boxes.

IEnumInfo object.

Contains information about a wizard project's enumeration members.

IFuncInfo object.

Contains information about a wizard project's functions.

IInterfaceInfo object.

Contains information about a wizard project's interfaces.

IParamInfo object.

Contains information about a wizard project's function and variable parameters.

ITypeLibInfo object.

Contains information about a wizard project's type libraries.

IVarInfo object.

Contains information about a wizard project's variables.

For more information on custom Visual C++ wizards, see Creating a Custom Wizard.

See Also

Tasks

How to: Interpret Visual C++ Wizard Model Examples

Concepts

Designing a Wizard

Other Resources

Visual C++ Extensibility Object Model