Questions tagged [global-hotkey]
72 questions
0
votes
1 answer
How properly create a global mouse hotkey in wpf C#
I am trying to create global mouse hotkeys in my program using SetWindowsHookEx(). So far I have tried to create them like in one post I have seen here but, I dont really know how to finsh this.
The problem is currently that I dont exactly know what…

Celmos
- 25
- 1
- 1
- 7
0
votes
1 answer
c# fix global hotkey
I have created a global HotKey and in first it works just fine. But when I start to add some designs in the Form and extra code it does not work anymore. Then I back to basics and just comment out the code added to the original code but still no…

Haime Reyes
- 87
- 9
0
votes
0 answers
Redirect global hotkey C#
I'm using the following code to track keys being pressed in an external application.
It works, but unfortunately the external window doesn't track the hotkey anymore when the program is running.
Is there any way register the hotkey without affecting…
user5174817
0
votes
1 answer
Cocoa alternative for Carbon events for global hotkeys
I just read this article on how to create global hotkeys using Carbon events. In the comments the author mentioned, that he wouldn't probably use this technology anymore because it's the 'way to deprecation'. So far, so good.
Now I'm looking for the…

flohei
- 5,248
- 10
- 36
- 61
0
votes
1 answer
C# How to stop global hotkey repeated action?
Problem is that when i press a global hotkey combination (ctrl + space) and hold the buttons down for a sec, the program loops it and brings up A LOT of the same text, like:
"some text" "some more text" "some text" "some more text" "some text" "some…

G S
- 5
- 3
0
votes
1 answer
C#: Global Hotkey blocks Input
Hello StackOverflow Community.
I wanted to use Hotkeys in my Program so I looked how to make Global Hotkeys.
The Normal Global Hotkeys you find on the Internet are getting blocked by Games or similair programs so I used this one: CodeProject.com
The…

etaxi341
- 96
- 7
0
votes
0 answers
How to prevent duplicate global hotkeys in java?
How to prevent to register duplicate global hotkeys means that do not register already registered hotkeys like CTRL+C or CTRL+V etc.

ppst99
- 69
- 1
- 13
0
votes
1 answer
global Hotkey assignment windows
I've built a WPF app that has a main window
I want to press Ctr+Alt+1 to activate / maximize the window
I then have on the window a 9 tabbed panel
I want to access each tab with hotkey presses with 1-9 respectively (when the main window is active),…

user1320651
- 808
- 2
- 15
- 42
0
votes
2 answers
Modifier Key Codes for Global Hotkey Registration
I am hooking a USB remote up to my software, and need to register global hotkeys to work with it. I have the code in place, and it is working as expected, but when I hook the remote up, I found that it requires a specific Left or Right Alt when…

Tim
- 2,731
- 9
- 35
- 72
0
votes
2 answers
Detect Ctrl + Left Click in Windows
I want my program to pop up when I hit the control key + left click (like babylon does).
I know how to register global hotkeys, but I dont klnow how to combine a mouse click.
Thanks!

eviabs
- 621
- 1
- 8
- 24
-1
votes
1 answer
Global hotkey taking exclusive use of keys
I'm currently using this code for hotkey manager that i found on another post here:
public class HotKeyReader
{
public static event EventHandler HotKeyPressed;
public static int RegisterHotKey(Keys key,…

Tristan Cunningham
- 909
- 2
- 10
- 24
-1
votes
3 answers
KeyDown KeyEventArgs won't work
I am trying to include HotKeys in my program but I don't know how to execute this code:
private void Form_KeyDown(object data, KeyEventArgs e)
{
if (e.KeyCode == Keys.Insert)
{
timer1.Stop();
}
}

user3002135
- 237
- 1
- 4
- 15