Re: Don't send messages when doing a ShowWindow(SW_HIDE) on an invisible window
3 Jun
2004
3 Jun
'04
3: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.
7865
Age (days ago)
7865
Last active (days ago)
0 comments
1 participants
participants (1)
-
Dmitry Timoshkov