3 Jun
2004
3 Jun
'04
4:31 p.m.
"Mike Hearn" <mh(a)codeweavers.com> wrote:
This fixes TightVNC. Praise be to open source Windows apps! :)
Mike Hearn <mh(a)codeweavers.com> Don't send WM_SIZE, WM_MOVE nor WM_WINDOWPOSCHANGING in ShowWindow when hiding an invisible window. Add a test for this behaviour which passes on Windows 2000 and Wine.
I think the real fix should be to test WS_VISIBLE style in ShowWindow and do nothing for SW_HIDE && !WS_VISIBLE, or SW_SHOWxxx && WS_VISIBLE. At least "Windows internals" book shows that Windows does that test. -- Dmitry.