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 funct

Re: [python-win32] EnumChildWindows

2007-08-20 Thread Radu Ciora
list) TypeError: First param must be a callable object Any ideas? Thanks a million! Radu. - Original Message From: Tim Roberts <[EMAIL PROTECTED]> To: Python-Win32 List Sent: Monday, 20 August, 2007 10:24:21 PM Subject: Re: [python-win32] EnumChildWindows Rad

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. Tha

[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): #Pass