Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to add property pages to property sheet dynamically.

88 views
Skip to first unread message

neeru

unread,
Sep 25, 2008, 5:53:23 AM9/25/08
to
Hi Frineds,
I am supposed to create property pages dynamically and add them to
property sheet.
Can anybodey help me ??

Joseph M. Newcomer

unread,
Sep 25, 2008, 6:48:09 AM9/25/08
to
CPropertySheet::AddPage?
joe

Joseph M. Newcomer [MVP]
email: newc...@flounder.com
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm

Tom Serface

unread,
Sep 25, 2008, 12:46:42 PM9/25/08
to
I think that dynamically is the only way to add them (at least I don't know
of another way).

There are a ton of examples of how to use it and variants of it here:

http://www.codeguru.com/cpp/controls/propertysheet/

Tom

"neeru" <neeraj...@gmail.com> wrote in message
news:8469ff03-faea-4503...@l33g2000pri.googlegroups.com...

David Ching

unread,
Sep 25, 2008, 5:43:14 PM9/25/08
to

"neeru" <neeraj...@gmail.com> wrote in message
news:8469ff03-faea-4503...@l33g2000pri.googlegroups.com...

It's been awhile, but I have not been successful at adding pages to the
property sheet, say when the Next button is clicked. I've only been
successful at adding pages prior to showing the property sheet. So I add
all possible pages at the start, then jump over the unwanted pages by
returning the desired page id in CPropertyPage::OnWizardNext(), etc.

-- David


0 new messages