On Mar 2, 7:01 pm, "abcd" <codecr... at gmail.com> wrote: > :( The answer depends on which GUI library you use. E.g. if you use MFC there is an object called win32ui.PyCWnd that has methods for hooking key strokes.