Page 1 of 1
Key F12 and SHIFT+F12
Posted: Sun Jun 28, 2009 3:52 pm
by Vanguarda
Hi brothers,
I´ve a FORM and i need (wanna) include in this FORM the key of function F12, but, it don´t work with me. I test the others function key and it work fine, only key F12 don´t work.
someone help me?!
In the attachment have a little project testing the function keys.
Thanks a lot,
with best regards,
Re: Key F12 and SHIFT+F12
Posted: Sun Jun 28, 2009 4:11 pm
by Roberto Lopez
Vanguarda wrote:Hi brothers,
I´ve a FORM and i need (wanna) include in this FORM the key of function F12, but, it don´t work with me. I test the others function key and it work fine, only key F12 don´t work.
someone help me?!
In the attachment have a little project testing the function keys.
Thanks a lot,
with best regards,
HMG uses
RegisterHotKey WinApi function to implement ON KEY command.
This function has a limitation on non-Win9x system. The limitation is that F12 is not available.
Please take a look at:
http://msdn.microsoft.com/en-us/library ... S.85).aspx
The relevant info is the following:
Code: Select all
Windows NT4 and Windows 2000/XP: The F12 key is reserved for use by the debugger at all times, so it should not be registered as a hot key. Even when you are not debugging an application, F12 is reserved in case a kernel-mode debugger or a just-in-time debugger is resident.
Regards,
Roberto.
Re: Key F12 and SHIFT+F12
Posted: Sun Jun 28, 2009 4:57 pm
by Vanguarda
Thanks Master for explanation.
I understood now.
With best regards,