Document Icons don't match!
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.
Re: Document Icons don't match!
Do you know that you have 2 different icons for each doc?
you've got 16*16 size, and 32*32 size,
you have to change them both!
Les.
Re: Document Icons don't match!
You are right on the money! Many programmers do not know about it.
I don't do it for ratings, but appreciation is always in style.
Good luck in your journey in a C++ land.