-
as seen on Stack Overflow
- Search for 'Stack Overflow'
The background: My form has a TWebBrowser. I want to close the form with ESC but the TWebBrowser eats the keystrokes - so I decided to go with a keyboard hook.
The problem is that the Form can be open in multiple instances at the same time.
No matter what I do, in some situations, if there are two…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I have a piece of software that is being used to simulate a certain device on a touchscreen, this device already runs an application that receives keyboard input from the device.
My software (reffered to as simulator) displays a virtual keyboard and runs the application.
Thus, the simulator sends…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I'm trying to suppress task switch keys (such as winkey, alt-tab, alt-esc, ctrl-esc, etc.) by using a low-level keyboard hook.
I'm using the following LowLevelKeyboardProc callback:
IntPtr HookCallback(int nCode, IntPtr wParam, ref KBDLLHOOKSTRUCT lParam)
{
if (nCode >= 0)
{
…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I would like to write a Java app that counts how long I have been using the keyboard or mouse w/o a break. Are there any built-in classes or 3rd party libraries that can detect global keyboard/mouse use?
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I code WinForm application where one of the input is magnetic stripe card reader (CR). I am using code George Mamaladze's article Processing Global Mouse and Keyboard Hooks in C# on codeproject.com to listen keyboard (USB card reader acts same way as keyboard) and I have weird situation.
One card…
>>> More