Hello world. Have been at this issue for 3 days now.
I am writing an application that does global keyboard hooking using the windows api. have no problem actually using:
My problem is, I need to tie this to only the "Left-Alt" key and others with the "Left-Ctrl" key.
Then, after that, the other problem I am going to have is needing to have it where if I'm in notepad and I press left-ctrl+h it only processes my hook, and not the application specific shortcuts.
Any and all help would be appreciated, have been banging my head against the keyboard over this one.
I am writing an application that does global keyboard hooking using the windows api. have no problem actually using:
VB.NET:
'Alt-N = 0
If e.KeyCode = Keys.N And e.Alt Then
SendKeys.Send(Chr(48))
End If
My problem is, I need to tie this to only the "Left-Alt" key and others with the "Left-Ctrl" key.
Then, after that, the other problem I am going to have is needing to have it where if I'm in notepad and I press left-ctrl+h it only processes my hook, and not the application specific shortcuts.
Any and all help would be appreciated, have been banging my head against the keyboard over this one.