CPropertySheet *sheet = (CPropertySheet *) GetParent();This assume you are using things in the standard way.
Programming Tips - MFC: How can I get the Property Sheet that is using my property page?
Date: 2014apr10
Language: C++
Framework: MFC
Q. MFC: How can I get the Property Sheet that is using my property page?
A. This will probably work (from within a property page):