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. Visual Studio
  4. executable icons and then some...

executable icons and then some...

Scheduled Pinned Locked Moved Visual Studio
visual-studiotutorialquestionlearning
11 Posts 4 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 kitty5

    Does anyone know how to change the Icon that represents the .exe of an application? I know when you create a short cut to the executable you can change that icon by right clicking the short cut going into properties and there a place that let's you "change icon". (i'm using windows XP). Also, I'm having problems changing the icons in the top left corner of the application. I've changed the .ico files in the resource folder in VS 2005 to look like what I want it to look but it's not taking... Any suggestions? Thanks! Kitty5

    D Offline
    D Offline
    Dan Neely
    wrote on last edited by
    #2

    Each form has an Icon property, under WindowStyle. You need to add the icon there.

    K 1 Reply Last reply
    0
    • D Dan Neely

      Each form has an Icon property, under WindowStyle. You need to add the icon there.

      K Offline
      K Offline
      kitty5
      wrote on last edited by
      #3

      dan neely wrote:

      Each form has an Icon property, under WindowStyle. You need to add the icon there.

      I'm using VS2005 there's not windowstyle in the properties menu. Also, I've created an MDI MFC application. it's the parent and the child forms' icons that I want to change. Kitty5

      D 1 Reply Last reply
      0
      • K kitty5

        dan neely wrote:

        Each form has an Icon property, under WindowStyle. You need to add the icon there.

        I'm using VS2005 there's not windowstyle in the properties menu. Also, I've created an MDI MFC application. it's the parent and the child forms' icons that I want to change. Kitty5

        D Offline
        D Offline
        Dan Neely
        wrote on last edited by
        #4

        If you're using MFC it's probably elsewhere, my answer's correct for .net apps. Which is why you should've posted to the MFC forum, rather than this one, which's for IDE issues.

        1 Reply Last reply
        0
        • K kitty5

          Does anyone know how to change the Icon that represents the .exe of an application? I know when you create a short cut to the executable you can change that icon by right clicking the short cut going into properties and there a place that let's you "change icon". (i'm using windows XP). Also, I'm having problems changing the icons in the top left corner of the application. I've changed the .ico files in the resource folder in VS 2005 to look like what I want it to look but it's not taking... Any suggestions? Thanks! Kitty5

          M Offline
          M Offline
          Michael Dunn
          wrote on last edited by
          #5

          Explorer uses the icon with the lowest resource ID. Make sure you change all sizes of that icon, not just the first size that the icon editor displays.

          --Mike-- Visual C++ MVP :cool: LINKS~! Ericahist | PimpFish | CP SearchBar v3.0 | C++ Forum FAQ

          K 1 Reply Last reply
          0
          • M Michael Dunn

            Explorer uses the icon with the lowest resource ID. Make sure you change all sizes of that icon, not just the first size that the icon editor displays.

            --Mike-- Visual C++ MVP :cool: LINKS~! Ericahist | PimpFish | CP SearchBar v3.0 | C++ Forum FAQ

            K Offline
            K Offline
            kitty5
            wrote on last edited by
            #6

            Michael Dunn wrote:

            Explorer uses the icon with the lowest resource ID. Make sure you change all sizes of that icon, not just the first size that the icon editor displays.

            you mean how big the icon is? this is from my test.rc: ///////////////////////////////////////////////////////////////////////////// // // Icon // // Icon with lowest ID value placed first to ensure application icon // remains consistent on all systems. IDR_MAINFRAME ICON "res\\test.ico" IDR_testTYPE ICON "res\\testDoc.ico" I don't see a size? Kitty5

            M 1 Reply Last reply
            0
            • K kitty5

              Michael Dunn wrote:

              Explorer uses the icon with the lowest resource ID. Make sure you change all sizes of that icon, not just the first size that the icon editor displays.

              you mean how big the icon is? this is from my test.rc: ///////////////////////////////////////////////////////////////////////////// // // Icon // // Icon with lowest ID value placed first to ensure application icon // remains consistent on all systems. IDR_MAINFRAME ICON "res\\test.ico" IDR_testTYPE ICON "res\\testDoc.ico" I don't see a size? Kitty5

              M Offline
              M Offline
              Michael Dunn
              wrote on last edited by
              #7

              Each icon resource can contain many sizes & color depths. You need to change all sizes in the IDR_MAINFRAME icon for the change to show up in all places. Eg if you only change the 32x32 icon, your title bar won't be affected since that uses the 16x16 icon.

              --Mike-- Visual C++ MVP :cool: LINKS~! Ericahist | PimpFish | CP SearchBar v3.0 | C++ Forum FAQ

              K 1 Reply Last reply
              0
              • M Michael Dunn

                Each icon resource can contain many sizes & color depths. You need to change all sizes in the IDR_MAINFRAME icon for the change to show up in all places. Eg if you only change the 32x32 icon, your title bar won't be affected since that uses the 16x16 icon.

                --Mike-- Visual C++ MVP :cool: LINKS~! Ericahist | PimpFish | CP SearchBar v3.0 | C++ Forum FAQ

                K Offline
                K Offline
                kitty5
                wrote on last edited by
                #8

                ok... found it! Thanks. so does this mean that the .exe icon is the one that uses the 32x32? Kitty5

                D T 2 Replies Last reply
                0
                • K kitty5

                  ok... found it! Thanks. so does this mean that the .exe icon is the one that uses the 32x32? Kitty5

                  D Offline
                  D Offline
                  Dan Neely
                  wrote on last edited by
                  #9

                  depending on where, it will use the 16x16, 32x32, or 48x48 icons. 16x16 in titlebar, taskbar, explorer (list, details). 32x32 explorer (Icon, tile). 48x48 explorer (thumbnail). Names in preXP may be different, and I'm not sure if earlier versions had the tile or thumbnail view at all. IF you don't have all 3 sizes, windows will scale one of the other icons (badly) to make the one it needs> -- modified at 13:08 Thursday 20th July, 2006 Also, you should provide 8, 24, and 32 bit versions of each icon. NT4 is fussy about what order they're provided in since it doesn't know how to properly display 32bit icons. I don't know if 9x has that issue as well.

                  1 Reply Last reply
                  0
                  • K kitty5

                    ok... found it! Thanks. so does this mean that the .exe icon is the one that uses the 32x32? Kitty5

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

                    nope, also, look into the resource.h. the icon used by the explorer is the one with the lowest ID (lowest #define)


                    TOXCCT >>> GEII power

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

                    K 1 Reply Last reply
                    0
                    • T toxcct

                      nope, also, look into the resource.h. the icon used by the explorer is the one with the lowest ID (lowest #define)


                      TOXCCT >>> GEII power

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

                      K Offline
                      K Offline
                      kitty5
                      wrote on last edited by
                      #11

                      GO IT! Thanks!:-D Kitty5

                      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