Print Screen Key not working in Windows

I can correctly access the key state for all other keys using SDL_GetKeyState(),
and I get correct SDL_KEYDOWN and SDL_KEYUP messages. However, for the Print
Sceen key, I get nothing at all - none of the functions detect when I press it.

Outside of my game, I can use Print Screen properly (i.e. to do screen capture
and paste into Photoshop).

Thoughts?

Phil Steinmeyer wrote:

Outside of my game, I can use Print Screen properly (i.e. to do screen capture
and paste into Photoshop).

You can also do this within the game.–
Rainer Deyke - rainerd at eldwood.com - http://eldwood.com

i don’t have this problem as yet, but out of curiosity, my media player has
some global hotkeys
i have set, PGUP and PGDOWN for back / forward, do these keys get ignored by
the applications
like any SDL app i have running…

Rainer Deyke <rainerd eldwood.com> writes:

Phil Steinmeyer wrote:

Outside of my game, I can use Print Screen properly (i.e. to do
screen capture

and paste into Photoshop).

You can also do this within the game.

Well yes, if I could detect when the Print Screen button was pressed -
that’s my problem. If I can capture the keypress, then I can do what
I need to do. But the keypress does not show up - not through SDL’s
messaging system, and not through Windows’ messaging system (the
latter, I presume, is because SDL is intercepting and consuming all
keypress messages. Unfortunately, it’s dropping the print screen
message).