Le 18 janv. 07 à 20:26 Soir, Terry Ford a écrit:


On Jan 18, 2007, at 11:17 AM, Jim Dossey wrote:

Does anybody know a way to make the PrintScreen key on a PC generate a KeyDown event? I know that I can use a timer and check the keyboard every xx msec, but it would be much easier if PrintScreen generated a KeyDown
event.

It's one of those keys that is more a modifier than an actual ascii keydown in any of Rb's classes. You will have to poll the Keyboard to trap it. Keydown will only work with ascii 0-127 characters and PrintScreen falls out of that range. On Mac Keyboards, it would be the F13 key.

The "é" key, out of the 0-127 range, also generate a keydown event.
Also, the F13 key generates a key whose asc code is 16.
These are details, though._______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to