[python-win32] Re: screen capture and win32gui.GetDesktopWindow()
Roger Upole
rwupole at msn.com
Fri Dec 8 04:11:18 CET 2006
Ray Schumacher wrote:
> Upon further tries, I can get handles, DCs, and/or Win32 BMPs from
> the desktop, but I can't get to a DIB from there.
>
> Can someone outline the general process that might be required?
> Ie.,
> get window handle
> create in/out DCs
> select bmp to outDC
> blit inDC data
>
print_desktop.py in the demos folder does a screen capture for printing,
but you should be able to adapt it.
Roger
More information about the Python-win32
mailing list