MFC CEdit object in a CDialogEx object
===

I'd be very grateful if anyone could help me with this? I'm trying to create a dialog box with a text box in it for receiving error messages. I've added ON_WM_CREATE to the message map, and written this function which the debug goes through, but the object doesn't display.


    int CImportDatatoAPMDlg::OnCreate(LPCREATESTRUCT LpCreateStruct)
    {
    	if(CWnd::OnCreate(LpCreateStruct) == -1)
    	{
    		return -1;
    	}
    	CEdit *MessageBox = new CEdit;
    
    	MessageBox->Create(WS_CHILD | WS_VISIBLE | ES_MULTILINE | ES_AUTOVSCROLL,CRect(100, 200, 450, 150), this, 0x1552);
    
    	return 0;
    }

Do I have to make a dummy box when I'm designing the dialog box. I've already done this for the rest of the controls? I'm also wondering where I give this object a number ID combination?

Thanks,
James