Hi,
I had the same problem and solved it pragmatically by using a CEditView derived class (I called it CLogView). Then I added a printf which finds the CLogView via a static member of CLogView.
In InitInstance I added:
// this is for the log view.
m_pLogTemplate = new CMultiDocTemplate(
IDR_LOGTYPE,
RUNTIME_CLASS(CLogDoc),
RUNTIME_CLASS(CMDIChildWnd), // standard MDI child frame
RUNTIME_CLASS(CLogView));
AddDocTemplate(m_pLogTemplate);

Let me know if you need more details.

Dieter Fauth :-)