Don't send messages when doing a ShowWindow(SW_HIDE) on aninvisible window

Dmitry Timoshkov dmitry at baikal.ru
Thu Jun 3 20:39:38 CDT 2004


"Mike Hearn" <mh at codeweavers.com> wrote:

> 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.

FALSE returned by ShowWindow doesn't mean a failure. ShowWindow returns
previous visibility status, and FALSE means that a window was invisible.

> By the way how much is "Windows Internals"? Is it still sold? I should
> look into getting a copy.

I bought russian translation of the book in 1995. Original book was
published in 1993 by Addison-Wesley, ISBN 0-201-62217-3.

-- 
Dmitry.




More information about the wine-devel mailing list