On Feb 6, 2008 4:57 PM, Richard Jones <[EMAIL PROTECTED]> wrote: > On Feb 6, 2008 3:23 PM, Alex Holkner <[EMAIL PROTECTED]> wrote: > > > See Window.set_exclusive_keyboard(). > > > > I can't test the behaviour, but does this prevent windows from seeing that > key? > > I've actually pulled the damn thing off my keyboard because of accidental > hits whilst playing games dumping me into windows.
My mistake. From the programming guide: "Most keys are not disabled: a user can still switch away from your application using Ctrl+Escape, Alt+Escape, the Windows key or Ctrl+Alt+Delete. Only the Alt+Tab combination is disabled." Apparently disabling these keys requires more effort than I was willing to put in when I wrote the Windows implementation. To the OP: sorry, pyglet doesn't provide a way to disable the windows key. There are surely hacks around though, which you could code up yourself with ctypes. Alex. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pyglet-users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/pyglet-users?hl=en -~----------~----~----~----~------~----~------~--~---
