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. Point in the right direction

Point in the right direction

Scheduled Pinned Locked Moved C / C++ / MFC
jsonquestion
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
    Stan the man
    wrote on last edited by
    #1

    I have been trying to make a simple keyboard that can send keys pressed to another application. I want it like what multi language OS does in that I enter it in one application(keyboard) and it will "inject" the key message to another application's message buffer. Can any one direct me in the right direction or the right API to use etc? Thanks in advance.

    C D 2 Replies Last reply
    0
    • S Stan the man

      I have been trying to make a simple keyboard that can send keys pressed to another application. I want it like what multi language OS does in that I enter it in one application(keyboard) and it will "inject" the key message to another application's message buffer. Can any one direct me in the right direction or the right API to use etc? Thanks in advance.

      C Offline
      C Offline
      Cedric Moonen
      wrote on last edited by
      #2

      Stan the man wrote:

      I want it like what multi language OS does in that I enter it in one application(keyboard) and it will "inject" the key message to another application's message buffer.

      I don't really understand the part in which you are speaking about "multi language OS", can you be more explicit please ? Otherwise, if you are working on windows, you can take a look at the PostMessage[^] function. But first you'll have to retrieve the HANDLE of the window (other guys here will be more helpfull than me on this point).

      1 Reply Last reply
      0
      • S Stan the man

        I have been trying to make a simple keyboard that can send keys pressed to another application. I want it like what multi language OS does in that I enter it in one application(keyboard) and it will "inject" the key message to another application's message buffer. Can any one direct me in the right direction or the right API to use etc? Thanks in advance.

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

        See if this article is of any help.


        "Let us be thankful for the fools. But for them the rest of us could not succeed." - Mark Twain

        "We will be known forever by the tracks we leave." - Native American Proverb

        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