void CAppDlgOnWindowPosChangingWINDOWPOS FAR lpwndpos if lpwndposcx if lpwndposcy is init time lpwndposx change here if you want to move left or right the window. 창을 위나 아래로 이동하려면 여기서 변경합니다. After CreateDialogIndirect, the MFC call CenterWindow.