MDI child frame without a close button
Posted on 1998-05-26
I'm new to MFC and Windows programming, making the leap from DOS (a dark screen with a C:\>, remember?)
Can I create an MDI child frame that does not have a close button. I do not want the user to be able to close the first child window opened when the program starts. I've played around with the ::LoadFrame(), ::Create(), and ::PreCreateWindow() member functions of the CChildFrame class to no avail. I've tried various combinations of the WS_XXXX bits in the frame styles, but haven't hit the correct one. Is this possible in MFC?
Note that I also have to get rid of the Close option from the Windows system menu.