Questions tagged [registerhotkey]
83 questions
1
vote
1 answer
Loop through alphbet for hotkey
I am trying to find a way to set the hotkey using the following loop:
Dim hotKEY(1) as string
Dim tmpKey as new Keys
Dim chosenLetter As Char = "B"
hotKEY(0) = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"
hotKEY(1) = "CTRL"
For Each Letter In…
![](../../users/profiles/277480.webp)
StealthRT
- 9,252
- 35
- 155
- 302
1
vote
1 answer
RegisterHotKeys and global keyboard hooks?
What are RegisterHotKeys and global keyboard hooks, and how do they work?
I want to make a key to get focused on my application's Form (when it's minimized) and then focus on a textbox, so from what I've read I need to use the RegisterHotKeys…
![](../../users/profiles/189520.webp)
Mazki516
- 873
- 1
- 9
- 19
1
vote
1 answer
Register a hotkey to simulate mouse click on an object in a dll web application
Disclaimer
I am in no means an expert in web technology, nor am I too familiar with .asp, .dll and other MS shenanigans, so don't be surprised to find weird/illogical (but hopefully meaningful enough) constructs bellow.
Background
I'm working, along…
![](../../users/profiles/1853181.webp)
user1853181
- 803
- 6
- 12
0
votes
2 answers
Missing reference to RegisterHotKey
I can't find on google what reference I must use to be able to use RegisterHotKey. What is it?
And while on the topic, should I use RegisterHotKey if I am trying to create an application which listen for key combination in the background?
![](../../users/profiles/720323.webp)
HelpNeeder
- 5,933
- 21
- 80
- 141
0
votes
0 answers
WPF Ctrl+C Hotkey Registration Overrides/Stops Typical Copy Functionality
I have tried looking into this for a while now and have not been able to come up with an answer that has worked. I am trying to register my WPF C# application to listen for Ctrl+C from anywhere while the application is running. The code below is…
![](../../users/profiles/5026321.webp)
Kubicus
- 1
- 2
0
votes
0 answers
RegisterHotKey() not detecting keypress
So, I am trying to write a program that detects when the keycombination Control + C is pressed, I have read that the best way to do this is to use RegisterHotKey(). I have never used this before though so I am a little confused since my code isnt…
![](../../users/profiles/11653134.webp)
daniël de groot
- 13
- 4
0
votes
0 answers
Deploying MaxOS software that uses event taps
Apologies if this is already answered here. I searched and found half answers. I'm developing a MaxOS (Catalina) utility that allows you to use a numeric keypad as a kind of Stream Deck. I have it working great in the IDE but as soon as I try to…
![](../../users/profiles/14171990.webp)
Jonathan Zuck
- 1
- 1
0
votes
0 answers
How can I detect which hotkey was pressed when using RegisterHotKey?
I am making a program in which I need to set multiple hotkeys that can be pressed by the user. I declared the hotkeys like this:
Dim index1 As Integer = 0
Dim hotkeycounter as integer= 0
For index0 = 0 To mainArr.GetUpperBound(0)
…
0
votes
1 answer
C# Registerhotkey() won't read some keycodes
While trying to create an auto clicker application using a Visual Studio Windows Form that allows you to select the hotkey you want, I stumbled upon a problem
When a user inputs keys such as ~ or / the hotkey won't work, However, if I put in 0xC0…
user8139662
0
votes
0 answers
How to detect hibernate/power saving key was pressed C#
i have a keyboard(CHERRY KC 1000), it has some multimedia keys like calculator, mail, browser and a powersaving/hibernating key (it depends which setting is made in energysaving settings in windows.
Now i want to write a small app to bring some…
![](../../users/profiles/6514539.webp)
Cezary88
- 23
- 6
0
votes
1 answer
Why isn't "protected override void WndProc(ref Message m)" working
I've been trying to figure this out for a very long time now; I've searched this several times and read more articles and questions on this than I can recall and I can't seem to figure out exactly what's going wrong. This is a small program that…
![](../../users/profiles/8984323.webp)
Devon Mathews
- 45
- 1
- 8
0
votes
0 answers
How do you disable system hotkeys in user32.dll?
I am coding in C#, if it is relevant.
I am trying to disable system hotkeys for a kiosk application. The code used here has come from: https://www.codeproject.com/kb/cs/kiosk_cs.aspx?display=print
This individual: How to disable the…
![](../../users/profiles/7131569.webp)
Rehaan
- 107
- 1
- 9
0
votes
1 answer
Is it possible to change a key to mean a function in java?
In java and other languages, % is used for modulus. Is there a way to set a symbol, say "~" to mean a function, for instance factorial? So if you type ~15, it would compute 15!
0
votes
0 answers
vb.net hotkey registration with 2 modifiers
I’m working on a project that I need to register a hot key for, any I’m running into a wall trying to figure out how to add another letter modifier to the hotkey registrar. For example, CTRL+SHIFT, A+B. As of right now the code that I’m running…
![](../../users/profiles/6686716.webp)
Joe Doen
- 1
0
votes
1 answer
How to check if an application is installed in my windows through asp.net?
can anyone please guide me how to check wether an application(any windows software) is installed in a windows client machine by using asp.net.I `ve tried registeries but couldnt access them due to security issues.Is there any other way ? .
![](../../users/profiles/6502294.webp)
neethu
- 193
- 1
- 3
- 12