Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles
(untagged)

Wizard2000 - Wizard 97 Property Sheets

0.00/5 (No votes)
9 Mar 2000 2  
Implements an application whose main window is a Wizard 97 based property sheet.
  • Download demo project - 16 Kb
  • Download 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 sheet.

    Microsoft has included two new classes for the purpose:

    • CPropertySheetEx - CPropertySheet enhancing the current property sheet to support a watermark background bitmap and a bitmapped header.
    • CPropertyPageEx - CPropertyPage enhancing the current property page to determine whether the page requires a header or a watermark background.

    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 PSH_WIZARD97 style in the constructor.

    m_psh.dwFlags |= PSH_WIZARD97;
    

    Also the flags for the property page header could include the PSP_HIDEHEADER style in the constructor to prompt that no header is required (the header bitmap is not displayed example in the welcome page - 1st page).


    License

    This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

    A list of licenses authors might use can be found here