Here's some code you can use to adjust the dialog box yourself. It will reposition the status bar also (if you add one). This code extends the bottom of the dailog box. You should add something to keep track of what state the dialog box is in. Add two buttons and map them to the two functions below. Put the functions in your dialog class. Once you play with them a little you'll see how to adjust the dialogs size. Basically I hide the window, resize it, then show it again. Have fun...
void CPracticeDlg::OnMove()
{
CRect rcWindow;
GetWindowRect(rcWindow);
rcWindow.bottom += 300;//rcClientStart.Height(); - .001;//rcClientNow.Width();
MoveWindow(rcWindow,FALSE);
ShowWindow(FALSE);
ShowWindow(TRUE);
RepositionBars(AFX_IDW_CONTROLBAR_FIRST, AFX_IDW_CONTROLBAR_LAST,0);
}
void CPracticeDlg::OnHide()
{
ShowWindow(FALSE);
CRect rcWindow,rcWindow2;
CRgn cRgn;
GetWindowRect(rcWindow);
rcWindow2 = rcWindow;
cRgn.CreateRectRgnIndirect(rcWindow2);
rcWindow.bottom += -300;//rcClientStart.Height(); - .001;//rcClientNow.Width();
ShowWindow(FALSE);
MoveWindow(rcWindow,FALSE);
ShowWindow(TRUE);
RepositionBars(AFX_IDW_CONTROLBAR_FIRST, AFX_IDW_CONTROLBAR_LAST,0);
}