PocketMatrix forums

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

Keyboard bypassing PFrog Key Events

I have some code running on the desktop using PFrog, and I'd like to be able to type some text in. I can grab key events through the pocketFrog framework, but the shift key fires off the vkA (or something) and doesn't modify the codes sent from the other keys.

So, basically, I can only type lower case and I have no way to type things like "!@#$%^& (not meant to look like cartoon cursing).

Is there a simple way to do this or is it impossible since I'm using PFrog?
This has nothing to do with PocketFrog. Check the win32 documentation.
Sorry this wasn't applicable to PF. I just assumed that since PF handles keypresses, it was...

Anyway, I was able to add a MessageHandler to the game framework for the WM_CHAR event (instead of WM_KEYDOWN). This passes the key codes as I needed (i.e. Shift + "1" sends an "!"), as a bonus I can also process the autorepeat that is intentionally ignored by the normal pocketFrog ButtonDown message handler.