icons

This is a discussion on icons within the C++ Programming forums, part of the General Programming Boards category; how do i get icons? Iv herd its something like id_icon Filename icon; can anyone tell me how its done?...

  1. #1
    Registered User
    Join Date
    Jan 2004
    Posts
    12

    icons

    how do i get icons?
    Iv herd its something like id_icon Filename icon;

    can anyone tell me how its done?
    if u c this i will be asking for help

  2. #2
    Sweet
    Join Date
    Aug 2002
    Location
    Tucson, Arizona
    Posts
    1,812
    you can use rc files
    Woop?

  3. #3
    Software Developer jverkoey's Avatar
    Join Date
    Feb 2003
    Location
    University of Waterloo
    Posts
    1,904
    rc files work.

    If you're in visual C++ you can simplify this greatly by doing: Insert->Resource->Icon then hitting new. It will then create an icon window that you can draw in if you want. Fill that in if you want, but regardless of what you do, once you're done, press ctrl-s or just his save and save the .rc file that automatically gets generated for you. Then insert the .rc file in to your project and your program will now have that icon replaced for the exe icon.

    *Notice*
    To use the icons in your code, there's a little extra coding you have to do, but I'm not going to get in to that unless you need me to

    -hope that helps!

  4. #4
    Registered User
    Join Date
    Jan 2004
    Posts
    12
    thank you so much. I will ask for more help if i cant get it to work.
    if u c this i will be asking for help

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. [C] Problem with icons in a toolbar
    By pc2-brazil in forum Windows Programming
    Replies: 3
    Last Post: 12-22-2008, 11:04 PM
  2. Getting Icons from the Desktop
    By Mastadex in forum Windows Programming
    Replies: 6
    Last Post: 08-29-2007, 05:33 PM
  3. Windows XP - File Types and Icons
    By LuckY in forum Tech Board
    Replies: 7
    Last Post: 05-18-2005, 05:35 PM
  4. how to make icons
    By stallion in forum Windows Programming
    Replies: 9
    Last Post: 01-29-2003, 11:29 AM
  5. Icons for base .exe
    By Hello There in forum C++ Programming
    Replies: 1
    Last Post: 07-07-2002, 11:05 PM

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