Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- The Guide to Clip-4-Win version 3.0 - <b>bitblt()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
BitBlt()
Copy a bitmap from one device context to another
------------------------------------------------------------------------------

Syntax
BitBlt( <hDCDest>, <nXDest>, <nYDest>, <nW>, <nH>,
        <hDCSrc>, <nXSrc>, <nYSrc>, [ <nROP> ] )   -->   lSuccess

Arguments
<hDCDest> is a handle to the destination device context.

<nXDest>, <nYDest> are used to specify the position of the top
left-hand corner of the destination of the bitmap in pixels.

<nW>, <nH> specify the width and height of the bitmap.

<hDCSrc> is a handle to the source device context.

<nXSrc>, <nYSrc> are used to specify the position of the top
left-hand corner of the source bitmap in pixels.

<nROP> optionally specifies the raster operation to use
(default SRCCOPY).

Returns
If successful, logical TRUE (.T.) is returned, otherwise FALSE
(.F.) is returned.

Description
This function can be used to copy bitmaps.  Full details of
how and when to use it are beyond the scope of this manual.

Example
See the sample source\winapi\drawbmp.* files.

See Also: LoadBitmap() PatBlt()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson