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
Kutlu Araslı
(To avoid any confusion, I am the same person who started this)
Jean5
http://www.aaronballman.com/programming/REALbasic/WindowSubclassingArticle.php
SunYu - 马爽
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