David Hedberg <david.hedb...@gmail.com> writes:

> +static LRESULT resize_namespacetree(NSTC2Impl *This)
> +{
> +    RECT rc;
> +    TRACE("%p\n", This);
> +
> +    GetClientRect(This->hwnd_main, &rc);
> +    SetWindowPos(This->hwnd_tv, HWND_TOP, rc.left, rc.top,
> +                 rc.right, rc.bottom, SWP_SHOWWINDOW);

Again, that's not the correct usage of SetWindowPos. You don't want to
show or activate it. What you probably want is MoveWindow.

-- 
Alexandre Julliard
julli...@winehq.org


Reply via email to