Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to disable default Function Key (F10) messages?

Status
Not open for further replies.

jmarotta

MIS
Jul 8, 2001
7
US
Greetings-

I'm looking to use the F10 key in my application, but everytime I use it, it activates the menus in the primary window (similar to "alt"). How do I disable the message to the main window?

Thanks in advance.
 
Hi,

You can set up windows hook using the API SetWindowsHookEx with the WH_KEYBOARD option.By doing this u can trap the F10 key first in your application and then let it go for default processing.

Regards
Sun
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top