Juris Smotrovs wrote:
The problem is that Wine does not send WM_SIZE message if the window has been maximized, but its (non-client area) rectangle size in pixels has remained the same. Wine looks only for rectangle size, but it should also send WM_SIZE at state changes between "maximized", "minimized", "restored", regardless of size changes (see WM_SIZE description at e.g. MSDN).
bash-3.00$ pushd dlls/user ; make test ; popd ~/wine/dlls/user ~/wine make[1]: Entering directory `/home/mike/wine/dlls/user/tests' ../../../tools/runtest -q -P wine -M user32.dll -T ../../.. -p user32_test.exe.so msg.c && touch msg.ok
...
fixme:msg:PeekMessageW PM_QS_xxxx flags (0040) are not handled msg.c:3351: Test succeeded inside todo block: ShowWindow(SW_HIDE):overlapped: marked "todo_wine" but succeeds
One step forward...
msg.c:2863: Test failed: Create MDI child window with invisible parent: the msg 0x0234 was expected, but got msg 0x0046 instead msg.c:2863: Test failed: Create MDI child window with invisible parent: the msg 0x0046 was expected, but got msg 0x0234 instead ...
but some steps back. :)
Mike