Click here to Skip to main content
Licence CPOL
First Posted 9 Mar 2000
Views 85,792
Bookmarked 22 times

Wizard2000 - Wizard 97 Property Sheets

By | 9 Mar 2000 | Article
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, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

    About the Author

    Santosh Rao

    Architect

    India India

    Member

    1993 started with Computers
     
    BE(Computer Science) and MS (Software Systems)
     
    Industry Experience: 10 Years
     
    C, C++, VC++(MFC), .NET, C#, MTS, Queuing, ASP.NET, AJAX, Java, J2EE, SunOne, JMS
     
    Banking, Insurance & Pension,Health Care


    Sign Up to vote   Poor Excellent
    Add a reason or comment to your vote: x
    Votes of 3 or less require a comment

    Comments and Discussions

     
    You must Sign In to use this message board. (secure sign-in)
     
    Search this forum  
     FAQ
        Noise  Layout  Per page   
      Refresh
    GeneralIt does not work if compiling with visual studio.net 2003. PinmemberHongweijia11:15 15 Dec '04  
    GeneralRe: It does not work if compiling with visual studio.net 2003. PinmemberHongweijia12:07 15 Dec '04  
    GeneralWIZARD97 and 256 colours PinmemberPhil Swann5:21 14 May '01  
    GeneralRe: WIZARD97 and 256 colours Pinmembercirdannadric6:36 23 Sep '03  
    GeneralProblems PinsussWill Baldwin16:25 16 Sep '00  
    GeneralRe: Problems PinmemberAnonymous17:07 20 Dec '00  
    GeneralRe: Problems - Workaround / Solution PinmemberCamiel8:12 6 Jun '01  
    GeneralRe: Problems - Workaround / Solution PinmemberHongweijia11:36 15 Dec '04  
    GeneralRe: Problems - Workaround / Solution PinsussDVProgramms9:59 3 Feb '05  
    GeneralWizard97 - adding pages after DoModal() PinsussMiri B.23:27 21 Jun '00  
    GeneralRe: Wizard97 - adding pages after DoModal() Pinmemberrm22:07 23 Oct '04  
    GeneralWin 95 Dosent Display Bitmaps... PinsussAamir2:42 17 May '00  
    GeneralRe: Win 95 Dosent Display Bitmaps... PinsussPat Laplante7:18 22 May '00  
    GeneralRe: Win 95 Dosent Display Bitmaps... PinsussAndy Metcalfe23:20 27 Sep '00  
    GeneralDon't work PinsussAlin23:18 15 Mar '00  
    GeneralRe: Don't work PinsussSantosh Rao0:59 16 Mar '00  
    GeneralRe: Don't work PinsussSantosh Rao1:06 16 Mar '00  
    GeneralOh why... PinsussPaul Selormey14:59 12 Mar '00  
    GeneralRe: Oh why... PinsussSantosh Rao17:06 12 Mar '00  

    General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

    Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

    Permalink | Advertise | Privacy | Mobile
    Web01 | 2.5.120517.1 | Last Updated 10 Mar 2000
    Article Copyright 2000 by Santosh Rao
    Everything else Copyright © CodeProject, 1999-2012
    Terms of Use
    Layout: fixed | fluid