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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. key combination

key combination

Scheduled Pinned Locked Moved C / C++ / MFC
questiontutorial
3 Posts 3 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
    Spiritofamerica
    wrote on last edited by
    #1

    hello how do I send a key combination to a window like for example ctrl+c. I have tryed with keybd_event and SendInput but I could not send more than one key. Is there a way to send a key combination to a window? thank you

    H 1 Reply Last reply
    0
    • S Spiritofamerica

      hello how do I send a key combination to a window like for example ctrl+c. I have tryed with keybd_event and SendInput but I could not send more than one key. Is there a way to send a key combination to a window? thank you

      H Offline
      H Offline
      Hamed Musavi
      wrote on last edited by
      #2

      Hello! I had such a problem a year ago, I didn't find a good answer so I decided to 'Put a hidden BUTTON on the dialog' and use '&' to give it a shortcut to a On... Message. It solved my problem temporarily! but it's not a good way I think. But I'm a begginer yet.(I started VC++ about a year ago).

      A 1 Reply Last reply
      0
      • H Hamed Musavi

        Hello! I had such a problem a year ago, I didn't find a good answer so I decided to 'Put a hidden BUTTON on the dialog' and use '&' to give it a shortcut to a On... Message. It solved my problem temporarily! but it's not a good way I think. But I'm a begginer yet.(I started VC++ about a year ago).

        A Offline
        A Offline
        Anonymous
        wrote on last edited by
        #3

        I fixed it

        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