|
-
October 18th, 1999, 08:14 PM
#1
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.
-
October 19th, 1999, 02:19 AM
#2
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.
-
October 23rd, 1999, 06:53 PM
#3
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.
There are only 10 types of people in the world:
Those who understand binary and those who do not.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|