CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 6 of 6
  1. #1
    Join Date
    May 1999
    Posts
    388

    Why don't the new icon show up?

    I have simple SDI application. When I changed the MFC icon in developer studio icon editor, this new icon should appear when I run the program, but the same old MFC (default) icon appear when I run the program. I have saved the session after editing, what could be the problem?


  2. #2
    Join Date
    May 1999
    Location
    Toulouse, France
    Posts
    171

    Re: Why don't the new icon show up?

    Have you compiled your app after the icon change ?

    K.


    Ash to ash and clay to clay, if the enemy doesn't get you, your own folk may.
    We're talking ****, 'cause life is a 'biz
    You know it is
    Everybody tryin' to get rich
    God ****!
    All I wanna do is live !

    KoRn, Children of the Korn

  3. #3
    Join Date
    May 1999
    Location
    United Kingdom
    Posts
    136

    Re: Why don't the new icon show up?

    Have you changed BOTH icons? By default, there are two icons for the application. A big one and a small one. You can select them in the drop down list above the icon editor. Make sure you have changed them both.

    Hope this helps,
    Oliver.


  4. #4
    Join Date
    May 1999
    Posts
    388

    Re: Why don't the new icon show up?

    thankx, it was a very nice suggestion and it is working, but can you answer another question, which is:
    In 'res' folder, there is only one icon file, should not there be two icon files, for two different resolutions?

    [email protected]


  5. #5
    Join Date
    May 1999
    Location
    United Kingdom
    Posts
    136

    Re: Why don't the new icon show up?

    As far as I know, an icon file can contain as many icons as it wants, i.e. one for each resolution, no. of colours, etc. Thus, there is only one icon file for all the resolutions.

    Hope this helps?
    Oliver.


  6. #6
    Join Date
    Aug 2000
    Posts
    6

    Re: Why don't the new icon show up?

    How do I use 50x%0 icon. When I SetIcon(), it only allow 32x32 or 16x16.

    Thanks


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured