我在CMainFrame中创建
m_wndLocalEntityWnd = new CLocalEntChildFrame(); //MDIChildFrame
CCreateContext context;
context.m_pNewViewClass = RUNTIME_CLASS(CLocalEntityView);
if(!m_wndLocalEntityWnd->LoadFrame(IDI_SITUATION_ICON,WS_MAXIMIZE|WS_OVERLAPPEDWINDOW,this,&context))
    return;在我的视图中创建树
int CLocalEntityView::OnCreate(LPCREATESTRUCT lpCreateStruct) 
{
if (CView::OnCreate(lpCreateStruct) == -1)
return -1;

// TODO: Add your specialized creation code here
DWORD dwStyle = WS_CHILD|WS_VISIBLE;
BOOL bResult = m_wndTree.Create(dwStyle, CRect(0,0,0,0), this, GRID_ID); return ( bResult ? 0 : -1 );
}但视图中却显示不了树控件,我试过CButton,也不行
不知道什么原因