Click to open or copy the Wizard97 project files.
The WIZARD97 sample uses MFC's CPropertyPageEx and CPropertySheetEx classes to implement a wizard with the new look as used by Windows 98 and Windows NT 5.0. You must be using Windows 98 or Windows NT 5.0 for this sample to work properly.
Most of the code necessary to implement the User Interface (UI) is internal to MFC, so this sample is almost identical to implementing a wizard with the old UI, except that the new classes are used and the PSH_WIZARD97 flag must be used.
WIZARD97 displays a simple wizard with four pages, displaying the UI format. To move between pages, simply use the NEXT or BACK buttons.
This sample demonstrates the following keywords:
CPropertySheetEx::CPropertySheetEx; CPropertySheetEx::AddPage; CPropertySheetEx::SetWizardButtons; CPropertySheetEx::DoModal; CPropertyPageEx::OnSetActive