BenLiu
October 18th, 1999, 08:14 PM
Hello, everybody:
I am engaged in a project using MFC MDI application framework. In CMyApp::InitInstance(),
I add several document templates into my application, and I hope CWinApp::RegisterShellFileTypes() will register all these document types into Windows registry.
Finally, in Explore and File/Open dialog, I find
those icons appear on screen don't match what I assigned in DevStudio resource editor. What's the problem? I have carefully checked all document resource string and resource symbol, but fail to figure out. Can anybody help me solve this problem.
Maybe I had changed the sequence of assignment of document templates in CMyApp::InitInstance(), but
is it the root cause?
Thanks in advanced. Thanks.
I am engaged in a project using MFC MDI application framework. In CMyApp::InitInstance(),
I add several document templates into my application, and I hope CWinApp::RegisterShellFileTypes() will register all these document types into Windows registry.
Finally, in Explore and File/Open dialog, I find
those icons appear on screen don't match what I assigned in DevStudio resource editor. What's the problem? I have carefully checked all document resource string and resource symbol, but fail to figure out. Can anybody help me solve this problem.
Maybe I had changed the sequence of assignment of document templates in CMyApp::InitInstance(), but
is it the root cause?
Thanks in advanced. Thanks.