I have a dialog created at creation time:
Code:
//WM_CREATE
CreateDialog(hInst, MAKEINTRESOURCE(id_Dialog), hwnd, reinterpret_cast<DLGPROC>(DlgProc));

//.rc
id_Dialog DIALOGEX 1, 1, 1, 1 
STYLE WS_CHILD | WS_VISIBLE | WS_BORDER
FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN
    EDITTEXT        IDC_EDIT2,155,30,198,71,ES_AUTOHSCROLL
END
I would like to resize the dialog like everything else but without making it an HWND
Code:
							MoveWindow(progTreeview, 0, 30, 150, HIWORD(lParam)-50, TRUE);
							MoveWindow(progToolbar, 0, 0, LOWORD(lParam), 20, TRUE);
							MoveWindow(progStatus, 0, HIWORD(lParam)-20, LOWORD(lParam), 20, TRUE);
							MoveWindow(progTab, 155, 30, LOWORD(lParam)-155, HIWORD(lParam)-50, TRUE);
                            //MoveWindow(progEdit, 2, 22, LOWORD(lParam)-159, HIWORD(lParam)-75, TRUE);
and resize the EditBox in the dialog too.

Any Ideas? Thanks.