[1/2] user32: fix FindWindowEx behavior if window name is an empty charachter

Ricardo Filipe ricardojdfilipe at gmail.com
Tue Oct 5 05:24:30 CDT 2010


2010/10/5 Louis Lenders <xerox_xerox2000 at yahoo.co.uk>:
>>It would be better to avoid duplicate GetWindowTextW() calls.
>
> I thought a long time how to fix this, but i couldn't find another way than this one, because we need to find out whether or not the window title is empty, and afaik we can only do that by calling GetWindowText (again). If you have another way that i overlooked, please let me know
>
> Regards Louis
>
>
>
>
>
>

doesn't it work if you store the GetWindowText result in a variable
and check that variable in the condition? or you need the two calls to
have the right behaviour (seems unlikely...)?



More information about the wine-devel mailing list