GetClientRect():以窗口客户区左上角为基准。
GetWindowRect():以屏幕左上角为基准。
GetWindowRect()->ScreenToClient() = GetClientRect();
GetClientRect()->ClientToScreen() = GetWindowRect();
MapWindowPoints(from, to, points, pointcount);
MoveWindow();
SetWindowPos();
SetWindowPos包含了z-order的设置,其功能比MoveWindow更为强大,包含了一组设置窗口显示状态的标志。然而,MoveWindow和SetWindowPos更本质的区别是,MoveWindow做了更多额外的事情,发送WM_MOVE, WM_SIZE, and WM_NCCALCSIZE等多种消息给窗口,而SetWindowPos则显的单纯的多,只发送了WM_WINDOWPOSCHANGED消息给窗口。