win32ui screen capture

Mark S Pryor marks.pryorSHRUB at CHENEYverizon.net
Fri Jun 27 03:26:08 EDT 2003


<Me Mine> wrote in message
news:bnknfvopjv4ih5t6t7ba47ib6s6f37esvc at 4ax.com...
> Hi again,
>
> ok, so now I'm closer.  I can create a compatible memory dc and a new
> bitmap, which is always black is created.  But I can't figure out how
> to BitBlt to the memory DC from the window DC.  The line is commented

I tried for 30 minutes, but no joy. I too get a black BMP result.

One suggestion. Add this
import win32con as con

In bltbit( , , , 204) use
                con.SRCCOPY) instead

hth,
Mark Pryor






More information about the Python-list mailing list