how to add/change icons?

This is a discussion on how to add/change icons? within the C Programming forums, part of the General Programming Boards category; not sure if this is the right forum for this, but how do i put an icon instead of the ...

  1. #1
    Registered User
    Join Date
    Aug 2005
    Posts
    38

    how to add/change icons?

    not sure if this is the right forum for this, but how do i put an icon instead of the console looking thingy so when I give the program to others, they dont see the console

    i'm using dev-C++

    and any of you know an icon maker program? lol (well i suppose I can use ps)

  2. #2
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,046
    You mean, you want to start the console minimized?
    dwk

    Seek and ye shall find. quaere et invenies.

    "Simplicity does not precede complexity, but follows it." -- Alan Perlis
    "Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
    "The only real mistake is the one from which we learn nothing." -- John Powell


    Other boards: DaniWeb, TPS
    Unofficial Wiki FAQ: cpwiki.sf.net

    My website: http://dwks.theprogrammingsite.com/
    Projects: codeform, xuni, atlantis, nort, etc.

  3. #3
    Registered User
    Join Date
    Aug 2005
    Posts
    38
    nonono....

    http://img389.imageshack.us/img389/8255/icon7uv.jpg
    the image that represents the program...

    prolly not even program related, but i dunno how to change/assign icons... maybe compiler related (low probability lol)
    Last edited by seal; 08-30-2005 at 11:53 AM.

  4. #4
    Registered User
    Join Date
    Aug 2005
    Posts
    8
    Do you mean... right click on the icon... properties.... change icon?

  5. #5
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,046
    Or do you want to uncheck "create console" in the project options? That will not create a console at all.
    dwk

    Seek and ye shall find. quaere et invenies.

    "Simplicity does not precede complexity, but follows it." -- Alan Perlis
    "Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
    "The only real mistake is the one from which we learn nothing." -- John Powell


    Other boards: DaniWeb, TPS
    Unofficial Wiki FAQ: cpwiki.sf.net

    My website: http://dwks.theprogrammingsite.com/
    Projects: codeform, xuni, atlantis, nort, etc.

  6. #6
    Banned
    Join Date
    Jun 2005
    Posts
    594
    he means have an icons for his console program.

    look up LoadIcon()

    function, its windows, so if your not using windows
    i dont know what to tell ya.

  7. #7
    Registered User
    Join Date
    Aug 2005
    Posts
    38
    Quote Originally Posted by Blur
    Do you mean... right click on the icon... properties.... change icon?
    thats what i mean

    and i dont see it there

  8. #8
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,046
    Maybe Blur's right.
    dwk

    Seek and ye shall find. quaere et invenies.

    "Simplicity does not precede complexity, but follows it." -- Alan Perlis
    "Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
    "The only real mistake is the one from which we learn nothing." -- John Powell


    Other boards: DaniWeb, TPS
    Unofficial Wiki FAQ: cpwiki.sf.net

    My website: http://dwks.theprogrammingsite.com/
    Projects: codeform, xuni, atlantis, nort, etc.

  9. #9
    Registered User
    Join Date
    Aug 2005
    Posts
    38
    Quote Originally Posted by dwks
    Maybe Blur's right.
    http://img350.imageshack.us/img350/619/icon2dh.jpg

  10. #10
    Banned
    Join Date
    Jun 2005
    Posts
    594
    if your not trying to do it programmatically, then
    you shoudl of psoted in the tech forum possible.

    anyways my previous post will let you programmatically
    add a icon to your console program.

  11. #11
    Registered User
    Join Date
    Jul 2005
    Posts
    69
    If your not using a project then create one and add your source files. If you already using a project: Project Option / General tab / Icon section: select from the icons supplied with devC or browse to the icon of choice. Rebuild all.

    Regards,
    Brian

  12. #12
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Posts
    4,662
    You'll have to compile and link an ICON resource into your application for Explorer to use. Use 16x16 and 32x32 icon images for the small and large icon views in Explorer.

    gg

  13. #13
    Registered User
    Join Date
    Aug 2005
    Posts
    38
    Quote Originally Posted by Br5an
    If your not using a project then create one and add your source files. If you already using a project: Project Option / General tab / Icon section: select from the icons supplied with devC or browse to the icon of choice. Rebuild all.

    Regards,
    Brian
    there ya go...
    thx!

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, 10:04 PM
  2. Getting Icons from the Desktop
    By Mastadex in forum Windows Programming
    Replies: 6
    Last Post: 08-29-2007, 04:33 PM
  3. Extracting 32-bit (48x48 +) icons
    By Liquidream in forum Windows Programming
    Replies: 1
    Last Post: 03-24-2005, 07:28 PM
  4. programmically setting a folder to view as Large icons
    By hanhao in forum C++ Programming
    Replies: 1
    Last Post: 05-21-2004, 05:07 AM
  5. how to make icons
    By stallion in forum Windows Programming
    Replies: 9
    Last Post: 01-29-2003, 10:29 AM

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