[PATCH 2/2] user32: Set WM_NOSIZE for windows smaller than SM_CXMINTRACK/SM_CYMINTRACK.

Alexandre Julliard julliard at winehq.org
Wed Jul 9 04:39:49 CDT 2008

"Lei Zhang" <thestig at google.com> writes:

> I'm trying to make the test in patch 1/2 pass.
> - I want DEFWND_HandleWindowPosChanged to see SWP_NOCLIENTSIZE = 1.
> - SWP_NOCLIENTSIZE gets set to 0 in SWP_DoNCCalcSize because the
> client size has changed.
> - the client size has changed because the window size has changed?
> - the window size changed because it was 100, and
> GetSystemMetrics(SM_CXMINTRACK) returns 112.
> so it looks like  I just need to set SWP_NOSIZE.

That's certainly wrong too, I think you are still on the wrong track.
You need to write more test cases.

Alexandre Julliard
julliard at winehq.org

More information about the wine-devel mailing list