Capturing/Recognizing Text In Another Window

Bengt Richter bokr at oz.net
Fri Oct 17 06:10:02 EDT 2003


On Thu, 16 Oct 2003 15:48:02 -0700, "Michael Geary" <Mike at DeleteThis.Geary.com> wrote:

>> >MemDC.BitBlt((0,0), (400, 400), DC, (0,0), 13369376)
>
>> Just wondering what the BitBlt is doing with
>>  >>> hex(13369376)
>>  '0xcc0020'
>
>You can do a Google search on either the decimal or hex number to find out.
>But I'll tell you anyway... :-)
>
>BitBlt is a multipurpose function that takes a ROP (Raster OPeration) code
>that controls exactly what it does. 0xCC0020 is the ROP code SRCCOPY, i.e.
>do a simple copy from the source to the destination.
>
D'oh. I knew that. I need to sleep better...

Regards,
Bengt Richter




More information about the Python-list mailing list