"Lei Zhang" thestig@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.