Enabling shortcut keys when program does not have focus
Hi
Does anyone know of a way of defining shortcut keys which will work even if the program does not have focus?
I am trying to write a C++ program which takes a screen capture of another program. When I press a button I want my C++ program to take a screen capture even though the program I am capturing has the focus.
Cheers
Robbie
Re: Enabling shortcut keys when program does not have focus
Re: Enabling shortcut keys when program does not have focus
Re: Enabling shortcut keys when program does not have focus
No need for any type of hooking to do this.
Just use RegisterHotKey.