Krzysztof Foltman <[EMAIL PROTECTED]> writes:

> ChangeLog:
>  * Added hWnd validity check to work around buggy apps (bug# 4452)
>
> This patch is based on Phil Krylov's one, with two differences: it
> checks the handle even before trying to call GetWindowLong, and it
> checks for invalid window handle, not just NULL.

The right way is to check for GetWindowLong failure, there's no reason
to use IsWindow.

-- 
Alexandre Julliard
[EMAIL PROTECTED]


Reply via email to