Solved

How to change icon for my application

Posted on 2004-09-23
5
4,940 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

Independent Software Vendors: 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

Suggested Solutions

Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
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.
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

737 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