I've built a property sheet in MFC with 6 property pages. The entire structure is embedded in a Dialog box. I'm using the DDX and message mapping functionality of MFC.
What I WANT to do is to nest the property page classes in the property sheet (for reasons of encapsulation), but when I make the necessary modifications to my code, the DECLARE DYNCREATE macro crashes . . . . it doesn't have access to the nested class (so it says). It's likely there may be message mapping issues, and DDX issues as well . . . .
So . . .
Before I beat my head against the wall and damage the panelling, has anyone tried to nest classes in a similar situation? If so, do you know any tricks, or is it just not worth the effort?
Thanks in advance,
---e[ch]
What I WANT to do is to nest the property page classes in the property sheet (for reasons of encapsulation), but when I make the necessary modifications to my code, the DECLARE DYNCREATE macro crashes . . . . it doesn't have access to the nested class (so it says). It's likely there may be message mapping issues, and DDX issues as well . . . .
So . . .
Before I beat my head against the wall and damage the panelling, has anyone tried to nest classes in a similar situation? If so, do you know any tricks, or is it just not worth the effort?
Thanks in advance,
---e[ch]