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
_______________________________________________
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to