Andreas Mohr <[EMAIL PROTECTED]> 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
[EMAIL PROTECTED]

Reply via email to