I have subclassed a dialog (with the help of an expert on here). That is, I have a dialog (DLGBase) which inherits from CDialog and I then created another dialog (DLGChild) which inherits from it.
What I was execting to happen was that any control I placed in DLGBase would automiatically be available in DGLChild. However, this is not the case. If I add controls to DLGBase they do not appear in DLGChild.
The reason I was attempting to do this was because the application I am writing will have many dialogs with common interfaces and rather than create each one individually I was going to use inheritance to cut down the work load.
Can anybody tell me how to do this?