Problems may occur when applications use the CreateMDIWindow function to create MDI child windows (883790)
The information in this article applies to:
- Microsoft Platform Software Development Kit (SDK) 1.0
SYMPTOMSThe current Microsoft Platform Software Development Kit (SDK) documentation for the CreateMDIWindow function says that "(u)sing the CreateMDIWindow function is similar to sending the WM_MDICREATE message to an MDI client window, except that the function can create an MDI child window in a different thread, while the message cannot."
Applications that use the CreateMDIWindow function to create a multiple-document interface (MDI) child window on a thread other than the thread that owns the MDICLIENT window may experience problems with the way that MDI manages the client windows. The following problems may occur: - The list of windows on the frame's window menu may not be complete.
- The management of the MDICLIENT scroll bars may not be consistent when you move or size MDI child windows.
- The keyboard cannot be used to move between the menus in the frame window and an MDI child window.
RESOLUTIONTo resolve this problem, applications should not call the CreateMDIWindow function to create MDI child windows on a thread other than the thread that owns the frame window and the MDICLIENT window.
REFERENCESFor more information about the CreateMDIWindow function, visit the following Microsoft Web site:
Modification Type: | Minor | Last Reviewed: | 7/11/2005 |
---|
Keywords: | kbprb kbMDI KB883790 kbAudDeveloper |
---|
|