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 make a icon from a graphic file?

How to make a icon from a graphic file?

Scheduled Pinned Locked Moved C / C++ / MFC
questiontutorial
3 Posts 3 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.
  • R Offline
    R Offline
    Richard Cheng
    wrote on last edited by
    #1

    How can i "transfer" a "*.bmp" or other graphic to a ICON file......so that i don't have to draw by myself.

    A 1 Reply Last reply
    0
    • R Richard Cheng

      How can i "transfer" a "*.bmp" or other graphic to a ICON file......so that i don't have to draw by myself.

      A Offline
      A Offline
      Andrew Peace
      wrote on last edited by
      #2

      Hi, Curiously, in Windows, if the bitmap is of the right size then you can actually just change the extension to .ico. Of course, it will automatically generate the different sized icons (32x32, 16x16) so they won't be the best thing ever but hey! You could also use a tool like Photoshop to resize the bitmap and then copy/paste it into devstudio. Hope that helps, Andrew.

      PJ ArendsP 1 Reply Last reply
      0
      • A Andrew Peace

        Hi, Curiously, in Windows, if the bitmap is of the right size then you can actually just change the extension to .ico. Of course, it will automatically generate the different sized icons (32x32, 16x16) so they won't be the best thing ever but hey! You could also use a tool like Photoshop to resize the bitmap and then copy/paste it into devstudio. Hope that helps, Andrew.

        PJ ArendsP Offline
        PJ ArendsP Offline
        PJ Arends
        wrote on last edited by
        #3

        I have used the IconPro sample program that comes on the MSDN CD \Samples\VC98\SDK\WINUI\RESOURCE\ICONPRO :) --- Multitasking: Screwing up several things at once.

        Within you lies the power for good; Use it!

        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