http://bugs.winehq.org/show_bug.cgi?id=4960
------- Additional Comments From juris.smotrovs@sets.lv 2006-12-05 03:54 ------- Dmitry, you are right, I checked it in Windows. Currently the message test (dlls/user/tests/msg.c) does not contain such ShowWindow tests: with WS_CHILD style, min/maximization/restoration, with invisible parent, hence I earlier missed that. With other SW_ parameters, like SW_SHOW, calling SetWindowPos is blocked.
In a sense, it simplifies matter: (in ShowWindow) with invisible parent, the SetWindowPos (sending the messages) should be called when the state of the window (min/maximized/restored) has changed, regardless of whether it is WS_CHILD or WS_EX_MDICHILD, or something else.
Perhaps you can submit a patch to add your tests to msg.c?