timr at probo.com
Tue Aug 21 02:19:34 CEST 2007
Radu Ciora wrote:
> thanks for the reply Tim but that's how I got the sample from internet.
> Anyway I changed the code like this:
> self.windowEnumerationHandler(l_hwnd,l_childlist), l_childlist)
That's not what I wrote at all. You need to pass the function, not call
the function and pass whatever it returns. Do it exactly like this:
win32gui.EnumChildWindows( l_hwnd, self.windowEnumerationHandler,
Note that there are *no parentheses* after windowEnumerationHandler.
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.
More information about the python-win32