Using a hotkey.

I need to make a program that will, when a certain key is pressed, perform a task. My question is how can I make it so that this hotkey works even when I am running another program in the foreground? (assume a full screen directx 9 using program)
[253 byte] By [ubncoa] at [2007-11-26 17:12:11]
# 1
I hate hotkeys, I mean they hurt my finger when I press one. btw, you can't do that without JNI (i.e. native code).kind regards,Jos
JosAHa at 2007-7-8 23:40:04 > top of Java-index,Java Essentials,Java Programming...
# 2
Im willing to get over the pain of pressing the hotkey :)I do really need to use this, so I guess I will need to come up with some way of doing it.
ubncoa at 2007-7-8 23:40:04 > top of Java-index,Java Essentials,Java Programming...
# 3

> Im willing to get over the pain of pressing the hotkey :)

> I do really need to use this, so I guess I will need

> to come up with some way of doing it.

But what's wrong with [ALT][TAB] for MS Windows then? (I forgot about

Gnome and KDE ...)

kind regards,

Jos

JosAHa at 2007-7-8 23:40:04 > top of Java-index,Java Essentials,Java Programming...
# 4
I guess that that's fine, but it takes a little while to minimize/maximize some programs (programs using direct draw, in particular.)
ubncoa at 2007-7-8 23:40:04 > top of Java-index,Java Essentials,Java Programming...