Download demo project - 16 KbDownload source files - 65 Kb
Introduction to the Wizard 97
The Platform Internet SDK along with its all other Goodies adds a new Property Sheet Wizard
User Interface. It could enhance your user interface by supporting a watermark background
bitmap and a bitmapped header for the property page.
The attached sample demonstrates an application whose main window is a Wizard 97 based property
Microsoft has included two new classes for the purpose:
CPropertySheet enhancing the current
property sheet to support a watermark background bitmap and a bitmapped header.
CPropertyPage enhancing the current
property page to determine whether the page requires a header or a watermark
Sample Screen shots of the test application:
After building a bitmap handle to the Watermark and the Header bitmap it is passed to the
constructor to the extended property sheets constructor.
CPropertySheetEx(UINT nIDCaption, CWnd* pParentWnd = NULL, UINT iSelectPage = 0,
HBITMAP hbmWatermark = NULL, HPALETTE hpalWatermark = NULL,
HBITMAP hbmHeader = NULL);
Also the flags for the property sheet header flags should include the
style in the constructor.
m_psh.dwFlags |= PSH_WIZARD97;
Also the flags for the property page header could include the
in the constructor to prompt that no header is required (the header bitmap is not displayed
example in the welcome page - 1st page).