http://bugs.winehq.org/show_bug.cgi?id=4964
------- Additional Comments From juris.smotrovs@sets.lv 2006-31-03 08:27 ------- Created an attachment (id=2180) --> (http://bugs.winehq.org/attachment.cgi?id=2180&action=view) Testcase illustrating the problem
1. Start the program: "wine Size.exe" 2. Select File->New (do not resize frame window before that!) In Windows, the MDI child opens maximized. In Wine, it opens normalized. The reason: the application stores its maximization state in its own variable which is modified at WM_SIZE events. Since the child does not receive the WM_SIZE event with Wine, the variable is not correctly updated.
If you resize frame window before Step 2., the child opens maximized, because its size in pixels changes at maximization, so WM_SIZE is sent.