Description: From the above example, it is not difficult to find that the standard wizard basically meets the requirements, but there are still some drawbacks:
1. Can't change the style of the wizard button, if you want to add ICONS to the "last step" and "next" button
2. You can't have a "complete" button to default like the Web wizard above
3. Cannot modify the location of the wizard button
The above defect is because we have adopted the CPropertySheet class, while the CPropertySheet class is not a modifiable resource.
For the purpose of personalizing the wizard, we can not use CPropertySheet class and CPropertyPage class.
Basic idea of design:
1. Work with a standard wizard. Each step is a dialog box, and the wizard itself is a dialog box for each step dialog.
2. The dialog box for each step should have no Title, no boundaries, and style as Child, and when you click "next" or "step up", block the dialog box to the location to display.
3. Because the wizard generally contains many steps, to manage these pages, we can create a linked list to manage each step of the dialog.
4. In order to facilitate the dialog, you can define the location in advance.
File list (Check if you may need any files):