[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-devel
Subject:    Re: DIALOG_CreateIndirect bug ?
From:       Alexandre Julliard <julliard () winehq ! com>
Date:       2000-12-29 20:12:00
[Download RAW message or body]

Andreas Mohr <amohr@codeweavers.com> writes:

> Why do we use ClientToScreen() here ?
> Isn't it supposed to shift a rectangle (the window coordinates as a whole),
> NOT a point structure (only "starting" points of window) here ?

No, because at this point rect.right and rect.bottom hold the size of
the rectangle, not the coordinates (check the code around
AdjustWindowRectEx a few lines above). It's not exactly elegant, but
it seems correct.

-- 
Alexandre Julliard
julliard@winehq.com

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic