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. copy jpg to clipboard

copy jpg to clipboard

Scheduled Pinned Locked Moved C / C++ / MFC
helpquestion
4 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.
  • S Offline
    S Offline
    Stirfie
    wrote on last edited by
    #1

    I am trying to write a function that copies a jpg or a gif to the clipboard, when I pass the path to it. ie jpgclip("C:\test.jpg") Can anybody help me? Regards Paul

    D 1 Reply Last reply
    0
    • S Stirfie

      I am trying to write a function that copies a jpg or a gif to the clipboard, when I pass the path to it. ie jpgclip("C:\test.jpg") Can anybody help me? Regards Paul

      D Offline
      D Offline
      David Crow
      wrote on last edited by
      #2

      Have you looked at SetClipboardData()?


      "Ideas are a dime a dozen. People who put them into action are priceless." - Unknown

      S 1 Reply Last reply
      0
      • D David Crow

        Have you looked at SetClipboardData()?


        "Ideas are a dime a dozen. People who put them into action are priceless." - Unknown

        S Offline
        S Offline
        Stirfie
        wrote on last edited by
        #3

        Yes I have looked at this function, but could use a few pointers on how to use it. I know I can send a bmp to the clipboard with this, but is there anything I need to know when sending jpg or gif?

        D 1 Reply Last reply
        0
        • S Stirfie

          Yes I have looked at this function, but could use a few pointers on how to use it. I know I can send a bmp to the clipboard with this, but is there anything I need to know when sending jpg or gif?

          D Offline
          D Offline
          David Crow
          wrote on last edited by
          #4

          See if this search helps.


          "Ideas are a dime a dozen. People who put them into action are priceless." - Unknown

          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