Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. How to set a .ico as default icon to my application

How to set a .ico as default icon to my application

Scheduled Pinned Locked Moved C / C++ / MFC
tutorial
5 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    Kiran Pinjala
    wrote on last edited by
    #1

    I have an x.ico file and I want to set it as my default application icon, that is .exe icon and application icon. How to do this. Thank you.

    KIRAN PINJARLA

    H T H T 4 Replies Last reply
    0
    • K Kiran Pinjala

      I have an x.ico file and I want to set it as my default application icon, that is .exe icon and application icon. How to do this. Thank you.

      KIRAN PINJARLA

      H Offline
      H Offline
      Hamid Taebi
      wrote on last edited by
      #2

      See CWnd::SetIcon

      1 Reply Last reply
      0
      • K Kiran Pinjala

        I have an x.ico file and I want to set it as my default application icon, that is .exe icon and application icon. How to do this. Thank you.

        KIRAN PINJARLA

        T Offline
        T Offline
        toxcct
        wrote on last edited by
        #3

        paste it in the resource folder (res/), delete the old .ico and rename x.ico like the old one you just deleted. it's the most simple you can do.


        TOXCCT >>> GEII power

        [VisualCalc 3.0  updated ][Flags Beginner's Guide  new! ]

        1 Reply Last reply
        0
        • K Kiran Pinjala

          I have an x.ico file and I want to set it as my default application icon, that is .exe icon and application icon. How to do this. Thank you.

          KIRAN PINJARLA

          H Offline
          H Offline
          houari_id
          wrote on last edited by
          #4

          Hi You can import the x.ico into the resources. Then delete existing IDR_MAINFRAME icon, and rename your new icon to IDR_MAINFRAME.

          -Houari

          1 Reply Last reply
          0
          • K Kiran Pinjala

            I have an x.ico file and I want to set it as my default application icon, that is .exe icon and application icon. How to do this. Thank you.

            KIRAN PINJARLA

            T Offline
            T Offline
            ThatsAlok
            wrote on last edited by
            #5

            kiran.pinjarla wrote:

            I have an x.ico file and I want to set it as my default application icon, that is .exe icon and application icon.

            SetIcon will only work!

            "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

            cheers, Alok Gupta VC Forum Q&A :- I/ IV Support CRY- Child Relief and You

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups