
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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~