At 18/1/2005 20:08, you wrote:

I'm a Java developper and I wish to make a capture of an offscreen window (on WinXP). It's not possible in Java, so I use a python script and WM_PRINT, but it doesn't seem to work.

I think device contexts are not shareable between processes, so you can't pass a DC handle.
Anyway, try to stay in Java - running a Python script to send some windows messages looks crazy to me!
You're using SWT, dont you? I'm almost sure it *is* possible to capture the image, but ask in a Java or Eclipse list for help.



_______________________________________________ Python-win32 mailing list Python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

Reply via email to