Re: SetWindowsHookEX

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Paul G. Tobey [eMVP] (ptobey_no_spam_at_instrument_no_spam.com)
Date: 06/07/04


Date: Mon, 7 Jun 2004 08:32:31 -0700

Help me out: what's the problem? When you do a SetWindowsHookEx, you are
able to capture real keys being pressed, etc., but you don't get some
message when the key is sent from the SIP? What message?

Paul T.

"paul harris" <anonymous@discussions.microsoft.com> wrote in message
news:96ADC03D-496C-486A-BBC6-D4CF6EDD310D@microsoft.com...
> I've played around with SetWindowsHookEx and got it to successfully work
on hard keys, but I only get CTRL and CAPS in the SIP. ideas?
> thanks
>



Relevant Pages

  • Re: Keyboard events in none forms applications...
    ... Hey Paul ... You mention hot keys. ... same with SetWindowsHookEx() for comparison and then integrate whichever ... keyboard event and then send a message to your managed code. ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: WH_KEYBOARD_LL not capture all key events
    ... Yes I think you are reason: the keys ... SIP knows the active application. ... so a combination of that plus the global hook to catch a ... >>> the only way to capture all keyboard input events. ...
    (microsoft.public.windowsce.app.development)
  • Re: WH_KEYBOARD_LL not capture all key events
    ... Hello Paul, ... Yes I think you are reason: the keys ... SIP knows the active application. ... >> the only way to capture all keyboard input events. ...
    (microsoft.public.windowsce.app.development)
  • Re: WH_KEYBOARD_LL not capture all key events
    ... I'd say that the keys that you *do* see affect the system state ... Create your own SIP. ... so a combination of that plus the global hook to catch a few ... > the only way to capture all keyboard input events. ...
    (microsoft.public.windowsce.app.development)
  • UnManaged SIP & Managed app
    ... I have a nice full screen SIP that is invoked everytime the user wants to ... code did not work as they are not being received at the managed app. ... Will a global static bool in C++ retain values across P/Invokes? ... user enters any keys and false on Enter or Close. ...
    (microsoft.public.dotnet.framework.compactframework)