文档/视图结构中的各个部分是如何联系到一起的[13]

[入库:2005年8月18日] [更新:2007年3月24日]

本文简介:选择自 coordinate 的 blog

                     pframe->destroywindow();

                     return null;

              }

 

              m_nuntitledcount++;

       }

       else

       {

              // 打开一个已经存在的文件

              cwaitcursor wait;

              if (!pdocument->onopendocument(lpszpathname))

              {

                     // user has be alerted to what failed in onopendocument

                     trace0("cdocument::onopendocument returned false.\n");

                     pframe->destroywindow();

                     return null;

              }

              pdocument->setpathname(lpszpathname);

       }

 

       initialupdateframe(pframe, pdocument, bmakevisible);

       return pdocument;

}

本文关键:文档/视图结构中的各个部分是如何联系到一起的
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top