Disabling close button on CMDIChildWnd
Posted on 1998-02-17
I am writing a MDI application that has multiple document templates. On start up, there is one document type that I want to open and not let the user close/destroy. I want to disable the close button (X) in the corner of the CMDIChildWnd. I have seen how to use PreCreateWindow to change the style for the minimize and maximize controls; but I haven't figured out how to disable the close.