我建立了一个工程去掉了document/view结构,然后从一个Dialog建立了一个类CInforView继承自CFormView,然后在CChildFrame中添加CInforView m_InforView,同事在CChildFrame的oncreate里 
if   (!m_InforView.Create(NULL,   NULL,   AFX_WS_DEFAULT_VIEW,   
CRect(0,   0,   0,   0),   this,   AFX_IDW_PANE_FIRST,   NULL)) 

TRACE0( "Failed   to   create   view   window\n "); 
return   -1; 

但是编译应用程序出现错误!


错误如下:error   C2248:   'Create '   :   cannot   access   protected   member   declared   in   class   'CFormView ' 
                c:\program   files\microsoft   visual   studio\vc98\mfc\include\afxext.h(756)   :   see   declaration   of   'Create ' 
请问如何在没有document/view的MDI中使用CFormView??