PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Capturing all Key Input

I'm writing a program which needs to capture all key inputs, for example when the user presses the Calender button I want to know about it and for the OS to not pop up the Calender.

I *could* alter all the registry entries, but this method strikes me as a bit messy because I'll just have to change them all back again. What I'm ideally after is the function which the GX.DLL library uses, in order for games to not stop and disappear when someone presses one of the buttons.
Thing is though, this program isn't a game, it's definitely an application not a game, so I'm not keen to use the GX.DLL library in case it has other 'gamey' effects.

Any idea which kind of function GX.DLL calls so I can investigate it?

(Any and all ideas are welcome though!)
By the way, have you seen this undocumented function?
WINUSERAPI BOOL WINAPI AllKeys(BOOL bAllKeys);

Wonder if that does what it says on the tin?