I have a MDI application that on startup and on FILE->New creates a CDialog. If the user clicks on CANCEL it creates an empty child. I would like for
Cancel on the first document, close the whole program.
Cancel on subsequent documents, simply not create a child window.
My CDialog is created in OnInitialUpdate() but can be anyplace that makes sense.
Thanks in advance.