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

Lei Zhang thestig at google.com
Tue Jul 8 17:55:04 CDT 2008


Hi,

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.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0002-user32-Set-WM_NOSIZE-for-windows-smaller-than-SM_CXMI.txt
Url: http://www.winehq.org/pipermail/wine-patches/attachments/20080708/eb391493/attachment.txt 


More information about the wine-patches mailing list