http://mail.python.org/pipermail/python-win32/2003-June/001129.html
win32gui.EnumWindows(_MyCallback, windows) for i in windows:is what you want.if win32gui.IsWindowVisible(i): if win32gui.IsWindowVisible: windowsText.append(i) winDict[numWindows] = i numWindows +=1
I'm trying to do a fast desktop capture myself, and having DC/pyDC confusion.
Ray
At 08:15 AM 12/5/2006, Michiel Vleugel wrote:
Hello list,
I'm trying to come up with a script that will take a screenshot of
internet exploder, (for IE automated unittest script for web
development) but having trouble drilling fown to the dc of the control.
It looks like I the control that is needed is called "Internet
Explorer_Server" inside the IE application. How can I get the dc of this
control?
I tried getting it by using GetDC() on the control, but it doesnt seem
to work (cause that only works on windows, not on controls).
Any help is greatly appreciated!
Michael Vleugel
_______________________________________________
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
_______________________________________________ Python-win32 mailing list Python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32