Mike McCormack <[EMAIL PROTECTED]> writes:

> @@ -153,7 +153,7 @@ static LRESULT WINAPI WCUSER_FontPreview
>          SetWindowLong(hWnd, 0, 0);
>          break;
>      case WM_GETFONT:
> -        return GetWindowLong(hWnd, 0);
> +        return GetWindowLongPtr(hWnd, 0);
>      case WM_SETFONT:
>          SetWindowLong(hWnd, 0, wParam);
>          if (LOWORD(lParam))

You should fix all the Get/SetWindowLong calls that set the same
value, changing only half will make things worse. You also have to
reserve the proper size in the window class.

-- 
Alexandre Julliard
[EMAIL PROTECTED]


Reply via email to