void CMainFrame::OnModdscr() 
{
// TODO: Add your command handler code here
//m_currentWin = MODDSCR;
if (m_pModDesc != NULL)
{
m_pModDesc->MDIActivate();
return;
} m_pModDesc = new CChildFrame();
CCreateContext context;
context.m_pNewViewClass = RUNTIME_CLASS(CTableOprationView);
if (!m_pModDesc->LoadFrame(IDI_ICON3,WS_MAXIMIZE|WS_OVERLAPPEDWINDOW,this,&context))
return;
m_pModDesc->ShowWindow(SW_SHOWMAXIMIZED);
m_pModDesc->InitialUpdateFrame(NULL, true);

}CTableOprationView是我自己建立的FormView。