Solved

How to change icon for my application

Posted on 2004-09-23
5
4,943 Views
Last Modified: 2013-11-20
Hi, I am currently developing an application on visual studio 6.0, and i wish to change the MFC icon on my application header. Anyone can help? Thank you.
0
Comment
Question by:mwcmp
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 48

Accepted Solution

by:
AlexFM earned 500 total points
ID: 12131744
Open Resource View, Icon, IDR_MAINFRAME. Change icon in the editor (you can do this manually or paste image from another icon/bitmap). Don't forget to change two icon sizes: 16*16 and 32*32. Icon size is selected in the Device combo.
0
 
LVL 2

Expert Comment

by:raed_hasan
ID: 12132221
Open the icon resource for editing by double clicking.  Then notice the
control just above the editing grid that lets you switch between editing
the large icon and editing the small one.
0
 

Author Comment

by:mwcmp
ID: 12132312
Yes, but that is not what i want. I did managed to change the icon, but when I open the application window, on the top header, it still displays the MFC icon.

So that would mean my .exe icon has been changed, but not the top header icon found on the application window.

So anyone can help on that?
0
 
LVL 48

Expert Comment

by:AlexFM
ID: 12132822
What is top header?
0
 
LVL 55

Expert Comment

by:Jaime Olivares
ID: 12133021
I is a common error. As mentioned by AlexFM you have to pay attention to this:
When you design an icon, this resource has many "versions": 16x16, 32x32, 16 colors, 256 colors, etc.
Notice when you enter to Icon Editor in Visual C++, there is a toolbar option called: "Device", normally showing a combobox with  "Standard (32x32)", now select the next combobox option ("Small (16x16)"). You maybe will see the old-MFC icon again. Change it and recompile.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question