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 to win32gui.EnumWindows() to generate list of window handle, window
text.
print "hwnd: " + str(hwnd)
print "resultList: " + str(resultList)
resultList.append((hwnd, win32gui.GetWindowText(hwnd)))
Any help much appreciated!
Thanks a million,
Radu.
___________________________________________________________
Want ideas for reducing your carbon footprint? Visit Yahoo! For Good
http://uk.promotions.yahoo.com/forgood/environment.html
_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32