I,m working on an MDI app in VC 4.0.
I've made a dialog box which I've connected to a toolbar-button.
I would like the dialog to show everytime I open a new document in my application.
That is, when I push the "new" button I would like the dialog to show and a new empty document to open.
The problem is that I'm not allowed to do that because OnFileNew is protected in CWinApp.
What should I do?
The approach above may be completely incorrect. If there is another way to achive what I want I would be more then happy to know.
This cannot be too difficult.
Thanks in advance,