将ID名为IDC_CHECK_AUTOLOGIN的控件向上移动 60
CRect rectControl;
LONG lnRemove = 60; //要移动的大小GetDlgItem(IDC_CHECK_AUTOLOGIN)->GetWindowRect(&rectControl); //获得空间的绝对坐标
ScreenToClient(rectControl); //获得相对于主窗体的坐标
GetDlgItem(IDC_CHECK_AUTOLOGIN)->SetWindowPos(NULL, rectControl.left, rectControl.top - lnRemove, rectControl.Width(), rectControl.Height(), SWP_NOZORDER | SWP_NOSIZE); //设置其位置