Help Needed : MFC change ICON

Please support our C++ advertiser: Intel Parallel Studio Home
Reply

Join Date: Oct 2008
Posts: 35
Reputation: koushal.vv is an unknown quantity at this point 
Solved Threads: 1
koushal.vv koushal.vv is offline Offline
Light Poster

Help Needed : MFC change ICON

 
0
  #1
Nov 27th, 2008
Hi ,

I am working with MFC SDI application,
when i open any project [ SDI ] default icon gets loaded
[ ie MFC icon ] , i am not able to change it , even i tried
modifying the icon file, only the ABOUTDialog box icon changes,
at all the other places , the icons ie (ex: tool bar ) still show's default MFC ICON.Pls help. i might be doing something wrong

Thanks in advance
Reply With Quote Quick reply to this message  
Join Date: Nov 2007
Posts: 978
Reputation: mitrmkar is just really nice mitrmkar is just really nice mitrmkar is just really nice mitrmkar is just really nice mitrmkar is just really nice 
Solved Threads: 208
mitrmkar mitrmkar is offline Offline
Posting Shark

Re: Help Needed : MFC change ICON

 
0
  #2
Nov 27th, 2008
There are two images in the icon resource, you either have to modify both of them or simply delete one image.
Reply With Quote Quick reply to this message  
Join Date: Oct 2008
Posts: 35
Reputation: koushal.vv is an unknown quantity at this point 
Solved Threads: 1
koushal.vv koushal.vv is offline Offline
Light Poster

Re: Help Needed : MFC change ICON

 
0
  #3
Nov 27th, 2008
Actuall i got the solution, there is only one image icon for any project what mistake i did was to just modify only 48 * 48 SIZE image , now i modiffied all the images its working fine.

how did i do it :

1) click on the image
2) go to the image menu
3) Current Icon Image types
Here different sizes of images are present
modify all of them tats it . There will only be one icon
(.ico) file for one project ( i mean the images which is used for tool bar, exe etc )
Reply With Quote Quick reply to this message  
Join Date: Nov 2007
Posts: 978
Reputation: mitrmkar is just really nice mitrmkar is just really nice mitrmkar is just really nice mitrmkar is just really nice mitrmkar is just really nice 
Solved Threads: 208
mitrmkar mitrmkar is offline Offline
Posting Shark

Re: Help Needed : MFC change ICON

 
0
  #4
Nov 27th, 2008
Uh-oh, seems that I managed to post highly out-dated information, sorry about that one. (There used to be 2 images in a single icon resource, but nowadays there are many more).

Good job that you had it working though.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Other Threads in the C++ Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC