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. Managed C++/CLI
  4. >(resources->GetObject(L"Ythree.Image")));

>(resources->GetObject(L"Ythree.Image")));

Scheduled Pinned Locked Moved Managed C++/CLI
questionhelp
4 Posts 1 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.
  • I Offline
    I Offline
    ikurtz
    wrote on last edited by
    #1

    >(resources->GetObject(L"Ythree.Image"))); I need some help. The above code gets an image from .resX file. What is the code if i want to load an image from the app.rc file? I am finding that using resX, if i am using the same image more than once a new copy of the image is being created on executing the application and the code modified to point to images created when the program is executed. Thanks for the time.

    I 1 Reply Last reply
    0
    • I ikurtz

      >(resources->GetObject(L"Ythree.Image"))); I need some help. The above code gets an image from .resX file. What is the code if i want to load an image from the app.rc file? I am finding that using resX, if i am using the same image more than once a new copy of the image is being created on executing the application and the code modified to point to images created when the program is executed. Thanks for the time.

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

      i think i have to use the imageList control for this as resX is the .net way of doing things.

      I 1 Reply Last reply
      0
      • I ikurtz

        i think i have to use the imageList control for this as resX is the .net way of doing things.

        I Offline
        I Offline
        ikurtz
        wrote on last edited by
        #3

        if images are imported/used in resX using imagelist. how do i store audio clips in the application resources? do i use app.rc for that? also i would like to embed icons in it also. how and where do i store them? thanks.

        I 1 Reply Last reply
        0
        • I ikurtz

          if images are imported/used in resX using imagelist. how do i store audio clips in the application resources? do i use app.rc for that? also i would like to embed icons in it also. how and where do i store them? thanks.

          I Offline
          I Offline
          ikurtz
          wrote on last edited by
          #4

          ok i think i have figured out how resX works. thanks.

          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