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


Customizing C++ Wizards with Common JScript Functions

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at Customizing C++ Wizards with Common JScript Functions.

When you create a wizard project with the Custom Wizard, your project includes Common.js. If you specify a user interface for your wizard, the project also contains HTML pages that specify the JScript script language and include the file Common.js, as follows:

<SCRIPT ID="INCLUDE_COMMON" LANGUAGE ="JSCRIPT"></SCRIPT>  

The wizard also creates a unique file called Default.js. You can customize your own JScript functions in Default.js. See The JScript File for more information.

Common.js contains functions that you can call from each wizard's HTML pages and from Default.js. If you have the same functions that you would like to use across different wizards, you can place these functions in Common.js.

See Also

JScript Functions for C++ Wizards
Creating a Custom Wizard
Designing a Wizard