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:
> ...
> win32gui.EnumChildWindows(l_hwnd,
> 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,
l_childlist )

Note that there are *no parentheses* after windowEnumerationHandler.

-- 
Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.

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

Reply via email to