943,712 Members | Top Members by Rank

Ad:
  • C++ Discussion Thread
  • Unsolved
  • Views: 2051
  • C++ RSS
Nov 27th, 2008
0

Help Needed : MFC change ICON

Expand Post »
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
Reputation Points: 10
Solved Threads: 1
Light Poster
koushal.vv is offline Offline
35 posts
since Oct 2008
Nov 27th, 2008
0

Re: Help Needed : MFC change ICON

There are two images in the icon resource, you either have to modify both of them or simply delete one image.
Reputation Points: 1105
Solved Threads: 389
Posting Virtuoso
mitrmkar is offline Offline
1,714 posts
since Nov 2007
Nov 27th, 2008
0

Re: Help Needed : MFC change ICON

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 )
Reputation Points: 10
Solved Threads: 1
Light Poster
koushal.vv is offline Offline
35 posts
since Oct 2008
Nov 27th, 2008
0

Re: Help Needed : MFC change ICON

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.
Reputation Points: 1105
Solved Threads: 389
Posting Virtuoso
mitrmkar is offline Offline
1,714 posts
since Nov 2007

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C++ Forum Timeline: Random selection
Next Thread in C++ Forum Timeline: Passing an object by constant reference?





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC