"Mike Hearn" <[EMAIL PROTECTED]> wrote:

> This fixes TightVNC. Praise be to open source Windows apps! :)
> 
> Mike Hearn <[EMAIL PROTECTED]>
> 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.


Reply via email to