Click to See Complete Forum and Search --> : Function Keys and Virtual Codes


Starhawk
May 16th, 1999, 06:13 PM
I am trying to map individual commands to each of the Function Keys (F1-F12) and so far I have had no problem. However, I have run into a small roadblock. F10 seems to be reserved by Windows in order to access the menu bar (a la Alt - File Edit View, etc...). What I need to know is how do you over ride the default command and use F10 for something else?

I am using the OnKeyDown function, but it won't recognize the F10 key.

Thanks to anyone who can help me with this problem.

--Starhawk

Dan Haddix
May 16th, 1999, 07:03 PM
You need to override OnSysKeyDown() to get access to the F10 key.