Creating Property Sheets and Property Pages w/o the Class Wizard 
Author Message
 Creating Property Sheets and Property Pages w/o the Class Wizard

Hello,

I'll probably take some criticism for wanting to code w/o the Class Wizard,
but hey... to each his own.. :)
Anyways, are there any examples on using CPropertySheet and CPropertyPage
w/o the use of the Class Wizard?

Thanks,
    Rob



Sat, 02 Sep 2000 03:00:00 GMT  
 Creating Property Sheets and Property Pages w/o the Class Wizard



Quote:
> Hello,

> I'll probably take some criticism for wanting to code w/o the Class
Wizard,
> but hey... to each his own.. :)
> Anyways, are there any examples on using CPropertySheet and CPropertyPage
> w/o the use of the Class Wizard?

> Thanks,
>     Rob

Yes. Just write by hand what Class Wizard would copy from it's templates.
CPropertyPage is your average class that looks like a CDialog and
CPropertySheet just needs it's constructor overridden (to "Add()" the
property pages).
Really, what do you mean by "without the class wizard ?"

cU
--

                        http://djuga.home.ml.org
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Retriever 1.0 is out:   http://retriever.home.ml.org

Shareware image viewer, thumbnailer & database
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



Sun, 03 Sep 2000 03:00:00 GMT  
 Creating Property Sheets and Property Pages w/o the Class Wizard

Thanks for the reply Dirk.

What I mean by "without the class wizard ?" is that I wish not to use the
visual resource editor and class wizard to accomplish this task. I want to
be able to create the CPropertyPages by inheriting from CPropertyPage and
creating my window and then being able to dynamicaly add them to a
CProperySheet.....  I know this all can be done via the Resource Editor and
Class Wizard, but I perfer not to use them.. Sorry.

    Rob


[Stuffs deleted]

Quote:
>Really, what do you mean by "without the class wizard ?"

[Stuffs deleted]


Mon, 04 Sep 2000 03:00:00 GMT  
 Creating Property Sheets and Property Pages w/o the Class Wizard



Quote:

> Thanks for the reply Dirk.

> What I mean by "without the class wizard ?" is that I wish not to use the
> visual resource editor and class wizard to accomplish this task. I want
to
> be able to create the CPropertyPages by inheriting from CPropertyPage and
> creating my window and then being able to dynamicaly add them to a
> CProperySheet.....  I know this all can be done via the Resource Editor
and
> Class Wizard, but I perfer not to use them.. Sorry.

>     Rob



> [Stuffs deleted]

> >Really, what do you mean by "without the class wizard ?"

> [Stuffs deleted]

So you mean to create the template at runtime. Look in the online help on
creating dialog templates at runtime/dynamically/from memory, the same
applies here. The pages are always added dynamically to the sheet (
AddPage() ).

cU
--

                        http://djuga.home.ml.org
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Retriever 1.0 is out:   http://retriever.home.ml.org

Shareware image viewer, thumbnailer & database
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



Mon, 04 Sep 2000 03:00:00 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. Property Sheet (wizard)- Next goes to previous page

2. Property Sheet and Property pages in ATL

3. How to disable property page on property sheet.

4. Property sheet in a property page

5. Property pages disappearing from property sheet on selection

6. questions regarding property sheet and property page

7. Problem with same property page in multiple property sheets

8. Sizing Property Sheets/Property Pages

9. Problems with property sheets and property pages

10. Property Sheet and Property Pages

11. Property Sheet on Property Page?

12. resizable property sheet and property page

 

 
Powered by phpBB® Forum Software