[python-win32] EnumChildWindows

2007-08-20 Thread Radu Ciora
Hi everyone, can anyone give me an example of use of win32gui.EnumChildWindows() function as I can't seem to make it work: my code looks like this: ... win32gui.EnumChildWindows(l_hwnd, self.windowEnumerationHandler(), l_childlist) ... def windowEnumerationHandler(hwnd, resultList):

Re: [python-win32] EnumChildWindows

2007-08-20 Thread Tim Roberts
Radu Ciora wrote: Hi everyone, can anyone give me an example of use of win32gui.EnumChildWindows() function as I can't seem to make it work: my code looks like this: ... win32gui.EnumChildWindows(l_hwnd, self.windowEnumerationHandler(), l_childlist) That can't be your code. That calls

Re: [python-win32] EnumChildWindows

2007-08-20 Thread Radu Ciora
a million! Radu. - Original Message From: Tim Roberts [EMAIL PROTECTED] To: Python-Win32 List python-win32@python.org Sent: Monday, 20 August, 2007 10:24:21 PM Subject: Re: [python-win32] EnumChildWindows Radu Ciora wrote: Hi everyone, can anyone give me an example of use

Re: [python-win32] EnumChildWindows

2007-08-20 Thread Tim Roberts
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,