如用柱状图、饼状图显示一组数据

解决方案 »

  1.   

    使用多文档方式,
    pDocTemplate = new CMultiDocTemplate(
    IDR_OAMISPTYPE,
    RUNTIME_CLASS(COamispfDoc),
    RUNTIME_CLASS(CChildFrame), // custom MDI child frame
    RUNTIME_CLASS(CInNewPrjView));
    AddDocTemplate(pDocTemplate);
    m_pOAHtmlViewTemplate = new CMultiDocTemplate(
    IDR_MAINFRAME,
    RUNTIME_CLASS(COamispfDoc),
    RUNTIME_CLASS(CChildFrame), // custom MDI child frame
    RUNTIME_CLASS(COAHtmlView));
    AddDocTemplate(m_pOAHtmlViewTemplate);
      

  2.   

    用window->new window这个菜单项新建视图的代码也要改的吧,打开文件时用哪个默认的视图也需要,都不懂,DX能说说吗?