Thread: An application with own icon

  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). I´ve found one source in book "Learn yourself programming games in 24 hours" but it sudenly didnt work.
    I´ve 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 int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,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.

  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,057
    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
    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, 05: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, 06:43 PM