Catching Hotkeys (F1-F12)

Catching Hotkeys (F1-F12)

Post by Microsof » Wed, 19 Jan 2005 22:24:40

Hello Everybody,

is it possible for a VB6 application to monitor the use of the F1-F12 keys
(and - of course - react to them) even if the application does not have the
focus or is minimized in the system tray?

Thanks for your help


Catching Hotkeys (F1-F12)

Post by Ken Halte » Thu, 20 Jan 2005 00:26:56

You can setup hotkeys using....

System-Wide Keyboard Trapping with RegisterHotKey

...try to avoid the F keys though... at least the ones that Windows is
already using (F1, F10, etc)

Ken Halter - MS-MVP-VB -
Please keep all discussions in the groups..