Caps lock status

Hi all,

win98, py 2.2.3, wxPy 2.4.0.1

Is there a way to test the status of the Caps Lock
key (on or off)? I realy mean getting the status before
any key is pressed. I'm not speaking about
an event.GetKeyCode() !
Same question about NumLock and ScrollLock.
PS I did not find any doc about the subject.
Thanks.

Jean-Michel Fauth, Switzerland

Jean-Michel Fauth wrote:

Hi all,

win98, py 2.2.3, wxPy 2.4.0.1

Is there a way to test the status of the Caps Lock
key (on or off)? I realy mean getting the status before
any key is pressed. I'm not speaking about
an event.GetKeyCode() !
Same question about NumLock and ScrollLock.
PS I did not find any doc about the subject.
Thanks.

You can get EVT_KEY_DOWN/_UP events for them, but I don't think there is a way to get their current status. It may be possible to do though, please enter a feature request about it.

ยทยทยท

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!