请问文档模板用的字符串为资源字符串\nScribble\nScribble\nScribble Files (*.test)\n.test\nScribble.Document\nScribble.Document为什么双击鼠标没反应但是在任务管理器上却有该进成呢?不过拖动没有问题
程序里有
SetRegistryKey(_T("应用程序向导生成的本地应用程序"));
LoadStdProfileSettings(4);  // 加载标准 INI 文件选项(包括 MRU) EnableShellOpen();
RegisterShellFileTypes(TRUE);
我对上面的api不是很清楚可否仔细说一下..

解决方案 »

  1.   

    你没有说清楚,没有反应是,没有界面,但有进程吗?
    着几个API可以参考MSDN了
    SetRegistryKey-This method causes application settings to be stored in the registry instead of .ini files. 
    LoadStdProfileSettings-This method is called from within the InitInstance method to enable and load the list of most recently used (MRU) files and last preview state. If nMaxMRU is zero, no MRU list will be maintained.EnableShellOpen-Call this function, typically from your InitInstance override, to enable your application's users to open data files when they double-click the files from within the Windows File Manager.
    RegisterShellFileTypes-Call this member function to register all of your application's document types with the Windows File Manager.