help about icons

This is a discussion on help about icons within the C++ Programming forums, part of the General Programming Boards category; how do i add a icon to my program? like add a x.ico to my program, so it doesn't look ...

  1. #1
    Banned
    Join Date
    May 2004
    Posts
    55

    help about icons

    how do i add a icon to my program? like add a x.ico to my program, so it doesn't look boring
    Last edited by Noxir; 05-05-2004 at 01:16 PM.

  2. #2
    Registered User The Dog's Avatar
    Join Date
    May 2002
    Location
    Cape Town
    Posts
    788
    If you are using Windows, then you might want to try and get a resource hacker. It's a program the can show/edit the resources that are stored in an exe file.

  3. #3
    Hardware Engineer
    Join Date
    Sep 2001
    Posts
    1,398

    An icon is a "resource".

    Like, The Dog said, the icon is a resource. Assuming that you're using Windows compiler, there should be an option of adding resources to your project. You shouldn't need any sort of "hacking tool" for a program that you wrote yourself. By a Windows compiler, I mean one that can make Windows GUI programs as well as Windows-console programs.

    A resource gets added to the exe file, but it's not part of the actual compiled machine language... Hmmm... I'm not explaining that very well... Its kind-of like an attachment... but the icon bitmap is part of the file. (Part of the file-header, I believe.)

  4. #4
    Sweet
    Join Date
    Aug 2002
    Location
    Tucson, Arizona
    Posts
    1,810
    What Compiler Are You Using? That Would Make It Easier For Us To Tell Ya How
    Woop?

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