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#
  4. Using Windows keyboard api? [modified]

Using Windows keyboard api? [modified]

Scheduled Pinned Locked Moved C#
questionjson
5 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.
  • O Offline
    O Offline
    omegazafer
    wrote on last edited by
    #1

    Hi friends, How can I use Windows keyboard api to press some keyboar keys without using keyboard? I want to press some of keyboard keys by clicking button? If you give sample code or link, I will be very glad? Best Regard Thanks

    modified on Monday, August 25, 2008 9:26 AM

    B C 2 Replies Last reply
    0
    • O omegazafer

      Hi friends, How can I use Windows keyboard api to press some keyboar keys without using keyboard? I want to press some of keyboard keys by clicking button? If you give sample code or link, I will be very glad? Best Regard Thanks

      modified on Monday, August 25, 2008 9:26 AM

      B Offline
      B Offline
      Brij
      wrote on last edited by
      #2

      use this link http://www.codeproject.com/KB/system/CSLLKeyboard.aspx[^]

      Cheers!! Brij

      O 1 Reply Last reply
      0
      • B Brij

        use this link http://www.codeproject.com/KB/system/CSLLKeyboard.aspx[^]

        Cheers!! Brij

        O Offline
        O Offline
        omegazafer
        wrote on last edited by
        #3

        Thanks,

        1 Reply Last reply
        0
        • O omegazafer

          Hi friends, How can I use Windows keyboard api to press some keyboar keys without using keyboard? I want to press some of keyboard keys by clicking button? If you give sample code or link, I will be very glad? Best Regard Thanks

          modified on Monday, August 25, 2008 9:26 AM

          C Offline
          C Offline
          chaiguy1337
          wrote on last edited by
          #4

          Check out the Win32 SendInput()[^] function. I wrote an article[^] that demos how to use it for spoofing mouse clicks--keyboard input would be similar.

          “Time and space can be a bitch.” –Gushie, Quantum Leap {o,o}.oO( Looking for a great RSS reader? Try FeedBeast! ) |)””’)            Built with home-grown CodeProject components! -”-”-

          O 1 Reply Last reply
          0
          • C chaiguy1337

            Check out the Win32 SendInput()[^] function. I wrote an article[^] that demos how to use it for spoofing mouse clicks--keyboard input would be similar.

            “Time and space can be a bitch.” –Gushie, Quantum Leap {o,o}.oO( Looking for a great RSS reader? Try FeedBeast! ) |)””’)            Built with home-grown CodeProject components! -”-”-

            O Offline
            O Offline
            omegazafer
            wrote on last edited by
            #5

            Thanks

            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