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. image in a window

image in a window

Scheduled Pinned Locked Moved Managed C++/CLI
questionc++helptutorial
2 Posts 2 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.
  • N Offline
    N Offline
    nyquisttt
    wrote on last edited by
    #1

    Hi, how can i show an existing image in a c++ window. I mean i want my code to open a window and display an existing image in that window. In a future work i will try to show an image sequence in that window. For example, i have image001.bmp, image002.bmp,.. image016.bmp. I want to open a window and display the images as a slide show in that window. Maybe going to the next image can be assigned to pressing a key on the keyboard. Or maybe a time feature could be used. I mean, in the window, existing images will be displayed each 0.5 seconds with the same order in the sequence. Could someone help me with an explanatory piece of code? Thank you ...

    P 1 Reply Last reply
    0
    • N nyquisttt

      Hi, how can i show an existing image in a c++ window. I mean i want my code to open a window and display an existing image in that window. In a future work i will try to show an image sequence in that window. For example, i have image001.bmp, image002.bmp,.. image016.bmp. I want to open a window and display the images as a slide show in that window. Maybe going to the next image can be assigned to pressing a key on the keyboard. Or maybe a time feature could be used. I mean, in the window, existing images will be displayed each 0.5 seconds with the same order in the sequence. Could someone help me with an explanatory piece of code? Thank you ...

      P Offline
      P Offline
      palbano
      wrote on last edited by
      #2

      Look at the SDK documentation for the GDI function BitBlt(....)

      "No matter where you go, there your are." - Buckaroo Banzai

      -pete

      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