|
-
February 4th, 2009, 03:57 AM
#4
Re: Process Help
Hi All
Ok I am a little further. I now have my form created, I have it minimizing on startup, it hides the Taskbar Icon and I now have a small icon in the System Tray indicating that the program is running. Now I have the following code in the KeyDown Event of my form
Code:
Select Case e.KeyCode
Case Keys.F12
Me.WindowState = FormWindowState.Normal
End Select
This works ok as long as I dont open any other applications, basically the form is still the focus, but obviously it stops working the minute the form loses focus. I have looked at the thread on Low Level Keyboard hooks but this is way above my head. Is there an easier way for my form to detect the F12 key even though it does not have focus?
Cheers
Djbell
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|