BUG: MDI Child Window's "Minimize" System Menu DisabledLast reviewed: November 2, 1995Article ID: Q110795 |
The information in this article applies to:
SYMPTOMSAfter creating a new multiple document interface (MDI) child window in an MDI application, the child window's Minimize System menu option will be disabled after the following actions:
NOTE: The Minimize menu item is not disabled if the System menu is accessed through the ALT+"-" (minus) shortcut key or the mouse. Also, the Minimize menu item is not disabled if the window is moved.
RESOLUTIONThis problem may be avoided if the MDI parent calls GetSystemMenu() after creating the MDI child window. If the parent calls GetSystemMenu (hwndMDIChild, TRUE) for the MDI child window, the System menu is reset to the Windows default state, thus eliminating the problem.
STATUSMicrosoft has confirmed this to be a bug in Windows version 3.1 and Windows NT version 3.1. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATIONAlthough MDI is supported, it is discouraged. New users find it complicated to understand, so Microsoft is encouraging ISVs to use SDI or greatly simplify their interfaces to act like an SDI (there are some advantages to coding using MDI).
|
Additional reference words: buglist3.10 3.10
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |