[python-win32] win32gui.EnumWindows, documentation?

Rickey, Kyle W Kyle.Rickey at bakerhughes.com
Tue Mar 11 23:04:37 CET 2008

I like using lambda for this, but you could also put it into a function.

windows = []
win32gui.EnumWindows(lambda hwnd, resultList: resultList.append(hwnd),

This will populate windows with all the hwnds.

-Kyle Rickey

-----Original Message-----
From: python-win32-bounces at python.org
[mailto:python-win32-bounces at python.org] On Behalf Of Julius
Sent: Tuesday, March 11, 2008 5:00 PM
To: python-win32 at python.org
Subject: [python-win32] win32gui.EnumWindows, documentation?


im new to python in generell and was wondering where i would find the
api to win32gui.EnumWindows?
I know one of its arguments is a callback function, but i cant find any
information how it should look like?

Is this another win32 python implementation or is the site just called
activestate? Ive installed Mark Hammond's win32 extensions


python-win32 mailing list
python-win32 at python.org

More information about the python-win32 mailing list