setwindowshookex Questions
3
I've been working on this one quite a bit and haven't gotten any closer to a solution.
I juut dug up my old copy of the WindowsHookLib again - It's available with source at http://www.codeproject....
Charlotte asked 5/5, 2010 at 15:46
5
Solved
I am working on a program that uses keyboard hooks. However, when the PC that the program is running on is just slightly overloaded, it causes Windows to disconnect the hook from the program, causi...
Missus asked 18/7, 2011 at 3:17
7
Solved
I'm trying to hook a 3rd party app so that I can draw to its screen. Drawing to the screen is easy, and I need no help with it, but I seem to be having issues with using SetWindowsHookEx to handle ...
Galata asked 28/11, 2009 at 2:47
0
tldr: i am using LowLevelMouseProc to capture all touch events from a touch screen. This works for my application and some other applications, but unfortunately not for all apps. Can someone explai...
Sabotage asked 18/5, 2018 at 9:18
7
Solved
We have some global keyboard hooks installed via SetWindowsHookEx with WH_KEYBOARD_LL that appear to randomly get unhooked by Windows.
We verified that they hook was no longer attached because ca...
Silicic asked 16/4, 2010 at 18:22
0
I have an Excel workbook connected to Access. To help the user, a Windows Event Hook is set to return to the Excel workbook whenever the focus is set to Access while the Excel workbook is open.
T...
Petuntse asked 9/5, 2017 at 17:6
1
Solved
I have written an application to hook some procedure onto a new process to monitor mouse down events and to disable mouse down events on the new process. As of now, I am able to capture to mouse do...
Top asked 13/3, 2017 at 3:40
2
Solved
I need to capture global keyboard messages, so I use SetWindowsHookEx() with WH_KEYBOARD_LL. But it only works when application is in focus and does not trigger Callback globally. Almost the same c...
Stob asked 21/3, 2013 at 12:47
2
Solved
In a few words: blocking Win up after Win + Tab makes Windows think Win is still down, so then pressing S with the Win key up for example will open the search charm rather than just type "s"... unt...
Hyperborean asked 28/11, 2014 at 2:35
3
Solved
I'm creating a console application in which I'd like to record key presses (like the UP ARROW). I've created a Low Level Keyboard Hook that is supposed to capture all Key Presses in any thread and ...
Regine asked 30/1, 2010 at 2:28
2
Solved
I have a DLL I inject into other processes using SetWindowsHookEx. Inside the DLL I increment the module's reference counter by calling GetModuleHandleEx so I can control when the module is unloade...
Giana asked 29/8, 2014 at 22:35
0
I'm using SetWindowsHookEx with WH_CALLWNDPROC to catch all WndProc messages - and it works fine.
I was wondering if there is a way to store a parameter somewhere where the callback function can re...
Heraclitean asked 26/5, 2014 at 14:1
1
Solved
This question may have already been answered but I've been unable to find the proper response. I'm trying to turn toggle a debug switch when the F12 key is pressed in a form. I'm unable to use the ...
Niemeyer asked 21/5, 2014 at 21:28
4
Solved
I'm trying to set a low level windows keyboard hook to grab three keys pressed even if the application is not in focus. To do this I'm calling SetWindowsHookEx as
// Create an instance of HookProc...
Impanel asked 25/8, 2010 at 15:47
1
I have successfully installed a WH_GETMESSAGE hook with SetWindowsHookEx and I can see the WM_POINTERDOWN, WM_POINTERUP etc. messages that the application receives. (It is a 32 bit desktop applicat...
Comprehend asked 12/1, 2014 at 0:15
1
Solved
I'm trying to use the Gma.UserActivityMonitor library in a project and I've faced an error I can not overcome on my own.
In the HookManager.Callbacks.cs file there's a static method called EnsureS...
Mastic asked 27/7, 2013 at 12:9
1
After setting the global hook SetWindowsHookEx standard form's buttons working oddly. For example, if I click close button, then the mouse freezes for 5-10 seconds and form too.
I found topic with...
Dauntless asked 23/7, 2013 at 10:50
1
Solved
What is the best way to Detect Window Move/Drag of other Processes? In Windows7 64-bit
I'm currently investigating Global Hooks from a DLL using C++ & C#. It's a pain as it doesn't want to wor...
Garek asked 1/4, 2013 at 19:12
2
Solved
I'm trying to do a away timer style thing like Skype. If the user is 'away' for a period of time I'll trigger something. I have been using SetWindowsHookEx() with WM_KEYBOARD_LL which works fine. T...
Auction asked 30/1, 2013 at 3:19
1
Solved
I want to hook functions that are called from a loaded DLL on Run time, i used the class CAPIHook from the book "Windows Via C/C++" (the DLL Injecting done by Install System Wide hook and The hooki...
Bronson asked 21/7, 2012 at 13:7
1
Solved
I have developed an application that uses a global keyboard/mouse hook. It works perfectly in Windows 7, but not in Windows XP.
When I call SetWindowsHookEx in Windows XP, I get the error code 1428...
Rehabilitate asked 9/5, 2012 at 12:47
1
Solved
I'm interesting in gathering usage metrics for an application that I did not write and have no control over. This is a applicaiton running on Windows.
My plan for this is to register a global wind...
Know asked 30/3, 2012 at 20:44
3
Solved
I have found similar questions on this page, but I can't seem to figure out how to interpret the answers or figure out if they are truly duplicates.
Here are the possible duplicates I've found, wit...
Polemoniaceous asked 8/9, 2010 at 20:37
2
Solved
In a Delphi XE application I am trying to set up a global hook to monitor focus changes. The hook is created in a dll:
focusHook := SetWindowsHookEx( WH_CBT, @FocusHookProc, HInstance, 0 );
// dwT...
Croner asked 3/3, 2012 at 21:35
4
I am working on a project which captures all User Interactions. MSDN tells (this)
SetWindowsHookEx can be used to inject a DLL into another process. A
32-bit DLL cannot be injected into a 64-bi...
Mosqueda asked 27/1, 2012 at 9:41
1 Next >
© 2022 - 2024 — McMap. All rights reserved.