Designing a Wizard


The new home for Visual Studio documentation is Visual Studio 2017 Documentation on

The latest version of this topic can be found at Designing a Wizard.

You might need to create projects with standardized features that differ from the application wizards that are provided in Visual C++. For such tasks, you can use the Visual C++ wizard architecture, which is designed for easy extensibility and customization. You can create a wizard using the Visual C++ Custom Wizard. After you create your wizard, you can configure it to generate the starter files you need for your projects.

A Visual C++ wizard is an HTML control. It uses the Visual C++ wizard engine, IVCWizCtlUI, which provides common services, such as NavigateToCommandHandler, OkCancelAlert, and so on. The wizard also uses the script engine, which allows a wizard to understand both VBScript and JScript .NET.

The wizard architecture allows you to access the following object models directly in your wizards, and call their methods, properties, and events from either the JScript or the HTML files. (See the examples in The HTML Files and The JScript File for more information.)

See Files Created for Your Wizard for a description of each element of designing a wizard.

See Also

Creating a Custom Wizard
Steps to Designing a Wizard
Customizing Your Wizard