String Table它的详细介绍在孙鑫的vc视频教学中有讲解,具体的也不太清楚了

解决方案 »

  1.   

    ON_COMMAND(ID_FILE_OPEN, &CWinAppEx::OnFileOpen)用向导改, 不要自己改.
    其实就是
    &CWinAppEx(这是父类) 应该是你的 app 名()
      

  2.   

    基类的OnFileOpen使用该特定ID的字符串做为对话框的文件类型过滤器
    如果想跟踪,可以在
    ON_COMMAND(ID_FILE_OPEN, &uApp::OnFileOpen) 
    //uApp::OnFileOpen你的app类的重写函数,该函数实现只是简单的调用CWinAppEx::OnFileOpen然后设置断点,就可以跟踪观察文档打开是如何执行的了
      

  3.   

    http://blog.csdn.net/stoneboy100200/article/details/7990607
    【MFC】打开文件的流程 
    google/baidu mfc 打开/关闭/新建 文件的流程,基本上介绍很全面了,然后新建一个单文档工程用editview做基类,一直按f11跟踪一下打开/新建的过程,看看调用堆栈,源码面前,了无密码这是侯捷大神说的.这个东西主要是自己做一遍就知道了.
      

  4.   

    也可以重载CWinApp::OpenDocumentFile()自己实现打开操作
      

  5.   

    想跟进去的话你自己随便找个地方手动调用CWinAppEx::OnFileOpen,断点,F11
      

  6.   

    点击button后,可以new一个CFileDialog的实例。
    至于文件过滤的话,填写参数LPCTSTR lpszFilter 应该就可以了吧?
    The lpszFilter parameter is used to determine the type of filename a file must have to be displayed in the file list box. The first string in the string pair describes the filter; the second string indicates the file extension to use. Multiple extensions may be specified using ‘;’ as the delimiter. The string ends with two ‘|’ characters, followed by a NULL character. You can also use a CString object for this parameter.