>From a previous post you guys may be aware I'm writing a componentwhich is a text box and icon inside a panel. I want to detect when a
user presses Alt+K together so I can throw up a dialog.
It's basically identical to how the Alt-K feature works in the To and
CC fields of Microsoft Outlook. I was going to use this code to detect
the event:
Private Sub completerCatcher(ByVal sender As Object, ByVal e As
KeyPressEventArgs)
If (Char.ToLower(e.KeyChar) = "k" And
My.Computer.Keyboard.AltKeyDown) Then
activatePicker(Nothing, Nothing)
End If
End Sub
Now I'd imagine this would work, only it doesn't fire when the user
presses Alt+K. I imagine it's handled by the parent form. Since my
component is used on multiple dialogs (and sometimes many times per
single dialog) I need to know how I can catch these events.
Does anybody know?