Reputation: 1814
I have a class derived from CPropertySheet
in my MDI application. It is a model-less property sheet shown when a button is pressed in one of the views of application. I need to make the sheet as a child view of the application
How to do it?
Upvotes: 0
Views: 90
Reputation: 18411
You just need to change the parent of property sheet using SetParent
, or when you instantiate the CPropertySheet
-derived class object, you can pass the parent CWnd*
reference to constructor of CPropertySheet
.
Is this not working?
Upvotes: 1