Actually this is not completely correct, we need to consider the "new" window and client rects in the WindowPosChanging callbacks. I'll resend an updated version. -- Rémi Bernon <rbernon at codeweavers.com>