13.07.2015 Views

REFERENCE GUIDE

REFERENCE GUIDE

REFERENCE GUIDE

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

BeginPaintCommentsIf the caret is in the area to be painted, the BeginPaint functionautomatically hides the caret to prevent it from being erased.BitBltSyntaxParametersBOOL BitBlt(hDestDC, X, Y, n Width, nHeight, hSrcDC, XSrc, YSrc,dwRop)function BitBlt(DestDC: HDC; X, Y, Width, Height: Integer; SrcDC: HDC;XSrc, YSrc: Integer; Rop: Longint): Bool;This function moves a bitmap from the source device given by thehSrcDCd parameter to the destination device given by the hDestDCparameter. The XSrc and YSrc parameters specify the origin on the sourcedevice of the bitmap that is to be moved. The X, Y, n Width, and nHeightparameters specify the origin, width, and height of the rectangle on thedestination device that is to be filled by the bitmap. The dwRop parameter(raster operation) defines how the bits of the source and destination arecombined.hDestDC HOC Identifies the device context that is to receive thebitmap.Xint Specifies the logical x-coordinate of the upper-leftcorner of the destination rectangle.Yint Specifies the logical y-coordinate of the upper-leftcorner of the destination rectangle.nWidth int Specifies the width (in logical units) of the destinationrectangle and source bitmap.nHeight int Specifies the height (in logical units) of the destinationrectangle and source bitmap.hSrcDC HOC Identifies the device context from which the bitmapwill be copied. It must be NULL if the dwRop parameterspecifies a raster operation that does not include a source.XSrcint Specifies the logical x-coordinate of the upper-leftcorner of the source bitmap.YSrcint Specifies the logical y-coordinate of the upper-leftcorner of the source bitmap.dwRop OWORO Specifies the raster operation to be performed.Raster-operation codes define how the graphics device162Software development kit

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!