ID Number: Q72027
3.00
WINDOWS
buglist3.00 fixlist3.10
Summary:
PROBLEM ID: WIN9012008
SYMPTOMS
Most user-specified styles used in creating a Windows version 3.0
multiple document interface (MDI) child window are overridden by
MDI default styles. Specifically, before the child window is
created, all user-specified window styles except the WS_MAXIMIZE,
WS_MINIMIZE, WS_VSCROLL, WS_HSCROLL, and WS_CLIPCHILDREN styles are
removed and the WS_CHILD, WS_CLIPSIBLINGS, WS_SYSMENU, WS_CAPTION,
WS_THICKFRAME, WS_MAXIMIZEBOX, and WS_MINIMIZEBOX styles are added.
STATUS
Microsoft has confirmed this to be a problem in Windows version
3.0. No reliable way exists to modify the default behavior. Direct
manipulation of a window's style bits after the window is initially
created can cause unpredictable behavior and should not be
attempted.
This problem was corrected in Windows version 3.1. An application
can specify the MDIS_ALLCHILDSTYLES style for the MDI client window,
which prevents Windows from modifying the style of MDI child
windows. Modifying Windows in this manner provides backward
compatibility for MDI applications developed under Windows 3.0.
Additional reference words: 3.00