[python-win32] win32gui.SetCapture

python@kareta.de python at kareta.de
Fri Sep 16 23:45:34 CEST 2005


Hi,

the following code

pyhdl=win32gui.FindWindow(None,'PythonWin')
win32gui.SetForegroundWindow(pyhdl)
win32gui.SetCapture(pyhdl)

results in:

Traceback (most recent call last):
  File "C:\Python24\Lib\site-packages\pythonwin\pywin\framework\scriptutils.py",
line 310, in RunScript
    exec codeObject in __main__.__dict__
  File "C:\test\screen\screen_capture.py", line 51, in ?
    win32gui.SetCapture(pyhdl)
error: (0, 'SetCapture', 'No error message is available')

Any hints ?

regards,
Jürgen

-------------------------------------------------
Versandt durch den Webmaildienst der LDC GmbH Bonn


More information about the Python-win32 mailing list