I was programming a program that would hide itself at the press of Ctrl-Space and show itself when Ctrl-Space was pressed. However, the program has to have focus or this won't work. Is there a way to permit such a shortcut press while using another program without clicking on its task bar button

Problem permiting global shortcut keys
Justahobby
(To avoid any confusion, I am the same person who started this)
LuisFPF
You may use the Windows API RegisterHotKey.
-------------
msdn:
RegisterHotKey Function
The RegisterHotKey function defines a system-wide hot key.
Syntax
Parameters
Return Value
Remarks
Function Information
Iouri Simernitski - MSFT
http://www.aaronballman.com/programming/REALbasic/WindowSubclassingArticle.php