Dave's Brain

Browse - Programming Tips - How can I get the Property Sheet that is using my property page?

Date: 2014apr10
Language: C++
Framework: MFC

Q.  How can I get the Property Sheet that is using my property page?

A.  This will probably work (from within a property page):

CPropertySheet *sheet = (CPropertySheet *) GetParent();
This assume you are using things in the standard way.

Add a comment

Sign in to add a comment
Copyright © 2008-2017, dave - Code samples on Dave's Brain is licensed under the Creative Commons Attribution 2.5 License. However other material, including English text has all rights reserved.