CPropertySheet notifications
-
I have a straightforward CPropertySheet with CPropertyPages. I need to reset the contents of page "A", depending on the settings on other pages, which means I need a way to catch when pages "open" and "close" I can catch when a page "opens" by overriding OnChildActivate but I can't catch when a Page "closes". Any suggestions on a sane way to trap these events? (Note, I know about OnInitDialog() for "open" or OnOk() for "close". Neither of these methods are guaranteed to be called when just bouncing back and forth between pages by clicking on tabs) Thanks in advance.
-
I have a straightforward CPropertySheet with CPropertyPages. I need to reset the contents of page "A", depending on the settings on other pages, which means I need a way to catch when pages "open" and "close" I can catch when a page "opens" by overriding OnChildActivate but I can't catch when a Page "closes". Any suggestions on a sane way to trap these events? (Note, I know about OnInitDialog() for "open" or OnOk() for "close". Neither of these methods are guaranteed to be called when just bouncing back and forth between pages by clicking on tabs) Thanks in advance.
On the pages themselves, you can override OnSetActive and OnKillActive and do whatever you need to do to the parent PropertySheet or other Property pages.
onwards and upwards...