[python-win32] Re: Window capture using WM_PRINT and Python

2005-01-18 Thread Gabriel Genellina
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

[python-win32] python win32 demos question

2005-01-18 Thread Chris R. Martin
In the win32\demos directory, there is a script called win32gui_dialog.py. Near the end of this script, there are the following lines: def DemoModal(): w=DemoWindow() w.DoModal() ##w.CreateWindow() ##win32gui.PumpMessages() ### Not sure how to kill this loop. I realize that