comctl32: Fix propsheet size calculation (resent)

Alexandre Julliard julliard at winehq.org
Fri Jan 30 08:24:54 CST 2009


Vitaliy <vitaliy at kievinfo.com> writes:

> +  /* Get non-client size */
> +  if (!psInfo->isModeless)
> +  {
> +    RECT rc1;
> +
> +    GetWindowRect(hwndDlg, &rc);
> +    GetClientRect(hwndDlg, &rc1);
> +    tabOffsetX = rc.right  - rc.left - (rc1.right  - rc.left);
> +    tabOffsetY = rc.bottom - rc.top  - (rc1.bottom - rc.top);

That doesn't make sense. What are you trying to compute here?

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list