// As written this function causes the wizard to not display (hide)
// the second page of the wizard. To show the second page either comment
// out this function or return 1. This feature allows developers to
// dynamically hide and show pages in a wizard on an as needed basis.
DWORD GetPageShowStatus(DWORD dwStatus)
{
return 0;
}
The Wizard example demonstrates how to access the pages of a wizard in a Dialog Builder resource. To access the pages in the Wizard below the example program uses the Origin C Dialog, WizardSheet, and PropertyPage classes. The example dialog is launched by executing the function LaunchWizard in the source file Wizard.cpp found in this zip file, under the \Dialog Builder\Wizard subfolder.
As written the Wizard example contains three pages (as shown below) but the second page is hidden. The WizPage2 class member function [javascript:kadovTextPopup(this) GetPageShowStatus] causes the wizard to not display (hide) the second page of the wizard. To show the second page either comment out this function or modify it to return 1. This feature allows developers to dynamically hide and show pages in a wizard on an as needed basis.
To launch the Wizard above: