The program I'm working on is a Java desktop search application (
Link). By default, it hides in the system tray, and I want it to show up when the user hits a special key. Now the problem is that in Java there seems to be no way to steal focus from other applications. Therefore I'm wondering if this can be done in C/C++.