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. WM_KEYDOWN

WM_KEYDOWN

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

    Hi All! I need to handle a pressing keyboard event(hot key)when my application is inactive and let the current active application to handle it too. How can I do that? :confused:

    I 1 Reply Last reply
    0
    • M Minoo_Sh

      Hi All! I need to handle a pressing keyboard event(hot key)when my application is inactive and let the current active application to handle it too. How can I do that? :confused:

      I Offline
      I Offline
      imsniper
      wrote on last edited by
      #2

      look at Win32 Hooks ... WH_KEYBOARD .. SetWindowsHookEx you can capture any type of user command (at any time)

      M 1 Reply Last reply
      0
      • I imsniper

        look at Win32 Hooks ... WH_KEYBOARD .. SetWindowsHookEx you can capture any type of user command (at any time)

        M Offline
        M Offline
        Minoo_Sh
        wrote on last edited by
        #3

        Thanks a lot for your help. Could you please introduce me a good sample cod for that. :-O Best Regards, Minoo

        I 1 Reply Last reply
        0
        • M Minoo_Sh

          Thanks a lot for your help. Could you please introduce me a good sample cod for that. :-O Best Regards, Minoo

          I Offline
          I Offline
          imsniper
          wrote on last edited by
          #4

          http://support.microsoft.com/default.aspx?scid=kb;en-us;66989

          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