Syntax:
hBmpGet = BCX_GET(hWnd, _
LeftSrc%, _
TopSrc%, _
WidthSrc%, _
HeightSrc%, _
[Style%] _
[DrawHDC])
Parameters:
- hBmpGet Return value is a handle to the bitmap of the area of the area copied.
- hWnd Handle to the window containing the area to be copied
- LeftSrc% Horizontal position of upper left corner of area to be copied
- TopSrc% Vertical position of upper left corner of area to be copied
- WidthSrc% Width of area to be copied
- HeightSrc% Height of area to be copied
- WinStyle% [OPTIONAL] specifies a raster-operation code.
The default code is SRCCOPY.
These codes define how the color data for the source
rectangle is to be combined with the color data for
the destination rectangle to achieve the final color.
The following list shows some common raster operation codes:
-
BLACKNESS Fills the destination rectangle using the color associated with index 0 in the physical palette.(This color is black for the default physical palette.)
-
DSTINVERT Inverts the destination rectangle.
-
NOTSRCCOPY Copies the inverted source rectangle to the destination.
-
SRCCOPY Copies the source rectangle directly to the destination rectangle.
-
WHITENESS Fills the destination rectangle using the color associated with index 1 in the physical palette.(This color is white for the default physical palette.)
- DrawHDC [OPTIONAL] HDC(Handle to Device Context) pointing to
an already open HDC. This is useful if a device context is to be written
to many times. In this case the programmer is responsible for closing
the HDC at the appropriate time.
|