BOOL SetWindowPos( const CWnd* pWndInsertAfter, int x, int y, int cx, int cy, UINT nFlags );
这个次懂了吗,看看吧
Remarks
Call this member function to change the size, position, and Z-order of child, pop-up, and top-level windows.
Windows are ordered on the screen according to their Z-order; the window at the top of the Z-order appears on top of all other windows in the order.
All coordinates for child windows are client coordinates (relative to the upper-left corner of the parent window’s client area).