BitBlt Parameters Help

pratim_g
06-16-2001, 04:20 AM
I wanted some information about the last parameter of the BitBlt API function. It seems that it doesn't work with the constants like..SRCCOPY, SRCAND etc.
Actually, I wanted some information on these values.
Please Help.
Thanks

JDT
06-16-2001, 04:42 AM
You might already have this information but I thought I would post it anyways.

MSDN says:

<pre>SRCAND
Combines the colors of the source and destination
rectangles by using the Boolean AND operator.
SRCCOPY
Copies the source rectangle directly to the destination rectangle.</pre>


JDT

BillSoo
06-16-2001, 08:03 PM
I replied to your private message.

The gist was that you have to declare these constants because VB has no idea what they are. However, you can substitute the PaintPicture constants instead if you want because they are exactly the same...

eg.

SRCCOPY = vbSrcCopy



"I have a plan so cunning you could put a tail on it and call it a weasel!" - Edmund Blackadder

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum