hook problems

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Kostatus

    hook problems

    I created a WH_KEYBOARD hook, it works with virtual keys but it does not
    seem to capture any WM_CHAR messages. Is there any way to override my
    default WM_CHAR event in the same way that the WH_KEYBOARD hook does it for
    WM_KEYDOWN and WM_KEYUP?


  • Greg P.

    #2
    Re: hook problems

    "Kostatus" <kostatus@ihug. co.nz> wrote in message
    news:bj35ur$581 $1@lust.ihug.co .nz...
    | I created a WH_KEYBOARD hook, it works with virtual keys but it does not
    | seem to capture any WM_CHAR messages. Is there any way to override my
    | default WM_CHAR event in the same way that the WH_KEYBOARD hook does it |
    for WM_KEYDOWN and WM_KEYUP?

    The standard C++ language has no concept of hooks. Please ask in an
    appropriate newsgroup (such as comp.os.ms-windows.program mer.win32)


    Comment

    • Kevin Goodsell

      #3
      Re: hook problems

      Kostatus wrote:[color=blue]
      > I created a WH_KEYBOARD hook, it works with virtual keys but it does not
      > seem to capture any WM_CHAR messages. Is there any way to override my
      > default WM_CHAR event in the same way that the WH_KEYBOARD hook does it for
      > WM_KEYDOWN and WM_KEYUP?
      >[/color]

      The solution to your problem can be found here:



      -Kevin
      --
      My email address is valid, but changes periodically.
      To contact me please use the address from a recent posting.

      Comment

      Working...