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. Maintain data in Clipboard

Maintain data in Clipboard

Scheduled Pinned Locked Moved C / C++ / MFC
c++help
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.
  • D Offline
    D Offline
    dorutzu
    wrote on last edited by
    #1

    Hi, I'm working on an Outlook Add-in written in VC++. My problem is that I have to add some buttons to a toolbar, and the only way (I know) to set icons to them is using PasteFace. By doing this, I have to use the clipboard, and I loose everything that I had in there. Is there any way I can somehow save this data (from the clipboard) in a buffer, and after pasting the images, to put the initial data back into the clipboard. Any ideas or suggestions would be most welcome. Thanks, Doru

    S 1 Reply Last reply
    0
    • D dorutzu

      Hi, I'm working on an Outlook Add-in written in VC++. My problem is that I have to add some buttons to a toolbar, and the only way (I know) to set icons to them is using PasteFace. By doing this, I have to use the clipboard, and I loose everything that I had in there. Is there any way I can somehow save this data (from the clipboard) in a buffer, and after pasting the images, to put the initial data back into the clipboard. Any ideas or suggestions would be most welcome. Thanks, Doru

      S Offline
      S Offline
      Shog9 0
      wrote on last edited by
      #2

      If the clipboard data is in a format/formats you understand, then yeah, you could probably hack it. Since just about anyone can put just about anything in the clipboard though, it's unlikely you'll get this working across the board without a huge amount of effort.

      Shog9

      I'm not the Jack of Diamonds... I'm not the six of spades. I don't know what you thought; I'm not your astronaut...

      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