I know how to detect the F1 - F12 keys. How would I detect one on the desktop?
I know how to detect the F1 - F12 keys. How would I detect one on the desktop?
Hi BubbleMan;
if you want to dected if the f1 - f12 keys have been pushed whilst the user is in other programs, then you have to use 'Hooks'. (there may be other ways but this is the way i would do it). You will need to use global hooks, which means making a DLL file with the HookProc in and an .EXE that calls the DLL. A search at MSDN or google will find you a heap of code examples on key loggers that do this same thing.