An application with own icon

This is a discussion on An application with own icon within the C++ Programming forums, part of the General Programming Boards category; Hello everyone, Could someone kindly create for me a programme which would include its own icon (please both small and ...

  1. #1
    Registered User
    Join Date
    Apr 2007
    Posts
    162

    An application with own icon

    Hello everyone,

    Could someone kindly create for me a programme which would include its own icon(please both small and big). Ive found one source in book "Learn yourself programming games in 24 hours" but it sudenly didnt work.
    Ive got experinces with C++ just in non visual environment and now I am starting to programme in Windows.

    All responses will be highly appreciated
    Thank you

  2. #2
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,659
    Well which compiler / IDE are you using ?
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  3. #3
    Registered User
    Join Date
    Nov 2004
    Location
    Pennsylvania
    Posts
    434
    Yeah it all depends on the compiler. With Dev you just go into options or something like that and you're set. I have MSVC Express and i actually have no idea how to get my own icons. I probably have to do it manually in the resource file. :P

    Good luck!
    "Anyone can aspire to greatness if they try hard enough."
    - Me

  4. #4
    Registered User
    Join Date
    Apr 2007
    Posts
    162

    About the compiller

    I have dev-C++ and MS Visual C++

    Why does it depend on the copillator actually?

  5. #5
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,047
    Actually, it depends on your IDE or development environment. It's because they're different programs, so they support icons in different ways.

    With Dev you just go into options or something like that and you're set.
    I think first you need to create a project, then press ALT-P (I think) for project options and change the icon from there. It doesn't work without a project.
    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
    l2u
    l2u is offline
    Registered User
    Join Date
    May 2006
    Posts
    630
    How do you do it with MSVC 2005?

  7. #7
    Registered User
    Join Date
    Apr 2007
    Posts
    162
    Quote Originally Posted by l2u View Post
    How do you do it with MSVC 2005?
    It does not work... So you mean it is not supposed to work in MSVC?
    As I said I programmed in C++ just console apps. No any visual programmes.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Newbee Q: reg. MFC dlg button & Vista UAC shield icon
    By colbyringeisen in forum Windows Programming
    Replies: 3
    Last Post: 12-29-2008, 04:16 PM
  2. icon in win32 console application
    By osal in forum Windows Programming
    Replies: 3
    Last Post: 06-30-2004, 02:13 PM
  3. Tab Controls - API
    By -KEN- in forum Windows Programming
    Replies: 7
    Last Post: 06-02-2002, 09:44 AM
  4. icon in title bar?
    By Unregistered in forum Windows Programming
    Replies: 3
    Last Post: 12-12-2001, 05:43 PM

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