CPropertySheets and parent dialogs
Posted on 2003-11-25
I have a Parent CDialog.
This CDialog has a CPropertyPage
The CPropertyPage has two CPropertySheets
Now be it due to necessity or bad design on my part, i need to call a method (update some controls) on the parent CDialog from within my CPropertySheet.
The CPropertySheets are static CDialogs which are now inherited from CPropertySheet.
I have thought of passing the 'this' parameter in the property sheet constructor, but I get a circular error with the include files.
What would be the easiest solution for calling a member function of my parent CDialog from my CPropertySheet