From: Ron H on
I have a CPropertySheet object with three pages. How do I detect user input
on any page and enable the "Apply" button to save the changes?

Thanks As Always!
Ron H.


-----------------
www.Newsgroup-Binaries.com - *Completion*Retention*Speed*
Access your favorite newsgroups from home or on the road
-----------------
From: AliR (VC++ MVP) on
Detect the input on the page which in turn will tell the sheet to turn on
the apply button.

AliR.


"Ron H" <rnharsh(a)nospam.net> wrote in message
news:481b39db$0$13092$8d2e0cab(a)news.newsgroup-binaries.com...
>I have a CPropertySheet object with three pages. How do I detect user input
>on any page and enable the "Apply" button to save the changes?
>
> Thanks As Always!
> Ron H.
>
> -----------------
> www.Newsgroup-Binaries.com - *Completion*Retention*Speed*
> Access your favorite newsgroups from home or on the road
> -----------------


From: Ron H on
Is that supposed to be automatic? I do use event handlers to deal with most
of the input on each page but I don't understand how to get that information
back to the sheet. Do I post a message?

Ron H.


-----------------
www.Newsgroup-Binaries.com - *Completion*Retention*Speed*
Access your favorite newsgroups from home or on the road
-----------------
From: Joseph M. Newcomer on
One way to handle property pages on a property sheet is to think of the document/view
model. Think of the property sheet as the "document" and the pages as the "views". So
information about whether or not things changed would be part of the property sheet. You
could SendMessage to it (because you are in the same thread), PostMessage, or subclass the
property sheet and call methods in it, just like you have methods for CDocument. I
typically just call mine SetModified and it takes a boolean. When the modified flag is
set, the Apply button is enabled.
joe

On Fri, 2 May 2008 12:39:06 -0500, "Ron H" <rnharsh(a)nospam.net> wrote:

>Is that supposed to be automatic? I do use event handlers to deal with most
>of the input on each page but I don't understand how to get that information
>back to the sheet. Do I post a message?
>
>Ron H.
>
>
>-----------------
>www.Newsgroup-Binaries.com - *Completion*Retention*Speed*
>Access your favorite newsgroups from home or on the road
>-----------------
Joseph M. Newcomer [MVP]
email: newcomer(a)flounder.com
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm
From: Paresh on
Hi,

Please have a look at API CPropertyPage::SetModified(). Also see the example
shown in the MSDN for this API.
I Hope, this is what you are looking for ?

Regards,
Paresh.

"Ron H" wrote:

> I have a CPropertySheet object with three pages. How do I detect user input
> on any page and enable the "Apply" button to save the changes?
>
> Thanks As Always!
> Ron H.
>
>
> -----------------
> www.Newsgroup-Binaries.com - *Completion*Retention*Speed*
> Access your favorite newsgroups from home or on the road
> -----------------
>