Hello all,

I am working on the preliminary research on a pywin32 project.  I hope
to have a utility that can enter a 'capture' mode, wherein after
activating the mode, the user selects various open windows, and the
utility logs their hwnds and various data concerning the windows.  My
problem lies in the mechanism for this capture method.  If Win32 is
anything like wxWidgets, there is a event handler that should be able
to be exposed, that would give information on what window had focus.
My thinking is, if I can tail this event log during the capture mode,
I can read the windows that have gained focus.  I have some code which
plays with win32evtlog, using "System" as my source which doesn't
contain that kind of UI information, as far as I can tell.  Is there
another source domain that I can access? Or is there another module in
the library which will serve me better?

Can anyone help me find the functionality I am looking for?

Thanks,

Colin Barnette
_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to