Re: Property Pages - simple question (I think)
If OP says no MFC, that means this is WTL.
As for OP's question: well, this still doesn't give us your
program's architecture. I'd say you can simply store the
new values in the prop page class and read them after
DoModal returns. That's the common paradigm with
dialogs including property sheets with pages. Have the
caller decide what to do with them, including persisting
to the registry if that's what's needed. In short - don't mix
UI with business logic.
--
=====================================
Alexander Nickolov
Microsoft MVP [VC], MCSD
email: agnickolov@mvps.org
MVP VC FAQ: http://vcfaq.mvps.org
=====================================
"Scott McPhillips [MVP]" <org-dot-mvps-at-scottmcp> wrote in message
news:%236Lw73lKIHA.1324@TK2MSFTNGP06.phx.gbl...
"billyard" <dmetcalf@columbus.rr.com> wrote in message
news:4740c43c$0$20628$4c368faf@roadrunner.com...
Obviously I'm pretty new to this...
I am using Visual Studio 2005 C++ without MFC in the same exe.
I see that you figued it out. Cool.
BTW, CMainFrame, DoModal, ... These are MFC classes :)
So try microsoft.public.vc.mfc next time for best relevance.
--
Scott McPhillips [VC++ MVP]