Problem displaying small icons

This is a discussion on Problem displaying small icons within the Windows Programming forums, part of the Platform Specific Boards category; I found a tutorial on functionx.com for win32 programming. The problem is it's out of date, skips some important details, ...

  1. #1
    Registered User
    Join Date
    Feb 2008
    Posts
    1

    Problem displaying small icons

    I found a tutorial on functionx.com for win32 programming. The problem is it's out of date, skips some important details, and is not specific to visual studio .NET 2005 (VC++).

    I tried to google this problem and came up with nothing relevant..

    Is there a good tutorial on resources and adding existing icons? I got a 32x32 icon working for the desktop icon of the executable and in the windows task bar when it's running. As I write this, the icon now shows up in the upper left corner of the window (it wasn't before), but I fiddled with so much stuff, I'm not sure how to do it again. I made a 16x16, but changed it's color, and it doesn't change. (yes I compiled)

    What I need is a step by step tutorial for adding both sized icons: 32x32 and 16x16.

    I'm also having a problem where when I compile the .rc file after changing an icon, or the app after changing resource.h, it says the file was being edited outside of visual studio, and asks if I want to load the old copy. I just click NO everytime and compile, but what is this?

  2. #2
    Registered User mikeman118's Avatar
    Join Date
    Aug 2007
    Posts
    183
    What program are you using to edit the .rc file? Because if it's not Visual Studio, all it's doing is letting you know that it's been edited outside of Visual Studio. You need to click yes for it to work if you are making any changes to it. For example, if you had your .rc file open in Visual Studio and you opened the .rc file with Notepad and changed it, when you went back to Visual Studio it'll tell you that it's changed. If you click no, it just gets rid of the changes you made in Notepad and doesn't change anything.

  3. #3
    Registered User
    Join Date
    Dec 2007
    Posts
    824
    Quote Originally Posted by mindspin311 View Post
    What I need is a step by step tutorial for adding both sized icons: 32x32 and 16x16.
    http://www.winprog.org/tutorial/
    Im learning this one and it explains it well.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. problem with displaying doubles in array
    By Seiro in forum C Programming
    Replies: 5
    Last Post: 04-21-2006, 05:06 PM
  2. problem displaying image
    By h_howee in forum Windows Programming
    Replies: 3
    Last Post: 01-27-2006, 07:05 PM
  3. Small problem I need help with.
    By ajdspud in forum C++ Programming
    Replies: 2
    Last Post: 11-13-2005, 05:43 PM
  4. Small program big problem :-(
    By Fibre Optic in forum C++ Programming
    Replies: 4
    Last Post: 09-20-2005, 09:53 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21