Don't send messages when doing a ShowWindow(SW_HIDE) on an
invisible window
Mike Hearn
mh at codeweavers.com
Thu Jun 3 10:56:56 CDT 2004
On Fri, 2004-06-04 at 00:31 +0900, Dmitry Timoshkov wrote:
> 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.
Heh, aren't you supposed to be in bed? :)
OK, I sent a fixed patch to wine-patches. I thought ShowWindow/SWP might
do extra things we didn't want to skip, but if the Windows Internals
book says this is what Windows does then we can do that too. On Windows
it returns FALSE if you do that anyway, so it's probably right.
By the way how much is "Windows Internals"? Is it still sold? I should
look into getting a copy.
thanks -mike
More information about the wine-patches
mailing list