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. Loading ICON

Loading ICON

Scheduled Pinned Locked Moved C / C++ / MFC
tutorial
4 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.
  • B Offline
    B Offline
    Benjamin Bruno
    wrote on last edited by
    #1

    Hi How to load ICON file in Dialog application client area in VC8.

    L M 3 Replies Last reply
    0
    • B Benjamin Bruno

      Hi How to load ICON file in Dialog application client area in VC8.

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Hi, Just use the LoadImage function[^] and cast the return HANDLE into a HBITMAP. Then you would just BitBlt[^] the bitmap onto the dialog. Best Wishes, -David Delaune

      1 Reply Last reply
      0
      • B Benjamin Bruno

        Hi How to load ICON file in Dialog application client area in VC8.

        M Offline
        M Offline
        Madhu Nair 0
        wrote on last edited by
        #3

        Or insert a PictureControl and change the "Type" property of PictureControl to "Icon", then assign an ICON resource to "Image" property of PictureControl.

        1 Reply Last reply
        0
        • B Benjamin Bruno

          Hi How to load ICON file in Dialog application client area in VC8.

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          Use the ICON[^] resource control.

          Unrequited desire is character building. OriginalGriff

          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