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. MFC icon

MFC icon

Scheduled Pinned Locked Moved C / C++ / MFC
questionc++
7 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.
  • C Offline
    C Offline
    catngo
    wrote on last edited by
    #1

    how do i set the code so that the .exe file will have the icon instead of the MFC icon?

    I D 2 Replies Last reply
    0
    • C catngo

      how do i set the code so that the .exe file will have the icon instead of the MFC icon?

      I Offline
      I Offline
      iceage
      wrote on last edited by
      #2

      go into the "Resource View" tab of your project and change both IDR_MAINFRAME icons to whatever icons you want :)

      C 1 Reply Last reply
      0
      • I iceage

        go into the "Resource View" tab of your project and change both IDR_MAINFRAME icons to whatever icons you want :)

        C Offline
        C Offline
        catngo
        wrote on last edited by
        #3

        i did that but that only show in the title bar of the program, not on the .exe file that list under windows explorer.

        R 1 Reply Last reply
        0
        • C catngo

          i did that but that only show in the title bar of the program, not on the .exe file that list under windows explorer.

          R Offline
          R Offline
          Rick York
          wrote on last edited by
          #4

          Did you change them both ? BTW - there is an MSDN article on this subject also. __________________________________________ a two cent stamp short of going postal.

          A 1 Reply Last reply
          0
          • R Rick York

            Did you change them both ? BTW - there is an MSDN article on this subject also. __________________________________________ a two cent stamp short of going postal.

            A Offline
            A Offline
            Anonymous
            wrote on last edited by
            #5

            Hi go to Resource View Click ICOn click IDR_MAINFRAME icon Set the icon say your to both small (16 * 16) and Standard(32 * 32) from the combo box in resource views side view above icon display

            C 1 Reply Last reply
            0
            • C catngo

              how do i set the code so that the .exe file will have the icon instead of the MFC icon?

              D Offline
              D Offline
              David Crow
              wrote on last edited by
              #6

              The easiest way is to replace the .ico file(s) in the Res folder.


              "The pointy end goes in the other man." - Antonio Banderas (Zorro, 1998)

              1 Reply Last reply
              0
              • A Anonymous

                Hi go to Resource View Click ICOn click IDR_MAINFRAME icon Set the icon say your to both small (16 * 16) and Standard(32 * 32) from the combo box in resource views side view above icon display

                C Offline
                C Offline
                catngo
                wrote on last edited by
                #7

                Oh, i see. never know there a combo box there. thank 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