comctl32: Make an attempt to update notification handle

Dmitry Timoshkov dmitry at baikal.ru
Sun Mar 24 22:24:28 CDT 2013


Nikolay Sivov <nsivov at codeweavers.com> wrote:

> +    case WM_WINDOWPOSCHANGING:
> +    {
> +      HWND parent = GetParent(hwnd);
> +      if (parent) infoPtr->hwndNotify = parent;
> +      return DefWindowProcW(hwnd, uMsg, wParam, lParam);
> +    }

What if an application subclasses tab and doesn't pass WM_WINDOWPOSCHANGING
to the original proc? Why not just call GetParent() every time when a
notification is being sent?

-- 
Dmitry.



More information about the wine-devel mailing list