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. Emulating clipboard copy/paste

Emulating clipboard copy/paste

Scheduled Pinned Locked Moved C / C++ / MFC
question
3 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.
  • K Offline
    K Offline
    Kamis
    wrote on last edited by
    #1

    How can I emulate Ctrl+Ins or Shift+Ins (Ctrl+C Ctrl+V) key combinations. I've seen it in one program where it was possible to define your own keys to work with clipboard. How is it implemented?

    D 1 Reply Last reply
    0
    • K Kamis

      How can I emulate Ctrl+Ins or Shift+Ins (Ctrl+C Ctrl+V) key combinations. I've seen it in one program where it was possible to define your own keys to work with clipboard. How is it implemented?

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

      You just need to handle the KEY_UP or KEY_DOWN events in your application and then access the clipboard with whichever key combination you want.


      store your internet favourites online - www.my-faves.co.uk

      K 1 Reply Last reply
      0
      • D David Salter

        You just need to handle the KEY_UP or KEY_DOWN events in your application and then access the clipboard with whichever key combination you want.


        store your internet favourites online - www.my-faves.co.uk

        K Offline
        K Offline
        Kamis
        wrote on last edited by
        #3

        You must have misunderstood me. The thing I want to do is for example I press Ctrl+Shift+P and text from the clipboard appears on the screen (in Edit Box, Notepad, Word, whatever has the focus). And vice versa I pick out some text with the mouse or keyboard press Ctrl+Shift+C and the text saves to clipboard. That's what I want.

        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