How to disable the window close button in an MFC Multiple Document Interface (MDI) application (201553)
The information in this article applies to:
- The Microsoft Foundation Classes (MFC), when used with:
- Microsoft Visual C++, 32-bit Enterprise Edition 6.0
- Microsoft Visual C++, 32-bit Professional Edition 6.0
- Microsoft Visual C++, 32-bit Learning Edition 6.0
- Microsoft Visual C++ .NET (2002)
- Microsoft Visual C++ .NET (2003)
This article was previously published under Q201553 Note Microsoft Visual C++ .NET 2002 and Microsoft Visual C++ .NET 2003 support both the managed code model that is provided by the Microsoft .NET Framework and the unmanaged native Microsoft Windows code model. The information in this article applies only to unmanaged Visual C++ code. SUMMARY This article describes how to disable the close button in
the title bar of the main frame and child frame windows of an MFC Multiple
Document Interface (MDI) application.
Modification Type: | Major | Last Reviewed: | 9/2/2005 |
---|
Keywords: | kbhowto kbMDI kbMenu KbUIDesign KB201553 kbAudDeveloper |
---|
|