Keydown/Keyhit don't detect Print Screen!Archives Forums/Blitz3D Bug Reports/Keydown/Keyhit don't detect Print Screen!
| Running this code:|
While Not KeyHit(1) For f=1 To 255 If KeyHit(f) Then Print "you pressed key: " + f Next Wend
Every key I hit on the keyboard display a scancode... except for Prt Sc/SysRq!
Tested both on XP Home and 98, neither prints anything when I hit Print Screen.
| Doesn't work here either.|
In the command reference->Scancodes dir, sysReq came up as having a scancode of 183.
Maybe it's because it's a Windows key?
Can you get to that key in any other language?
| http://www.blitzbasic.com/Community/posts.php?topic=75335 |
| If there's no way to get it, then why give it a scancode?|
That seems more counterintuitive than usual. :-)