Group: Bitmap - Library: gdi32
The BitBlt function performs a bit-block transfer of the color data corresponding to a rectangle of pixels from the specified source device context into a destination device context.
Placing an arbitrary rectangular area of main VFP window on the Clipboard
How to copy the image of a form to the Clipboard using Bitmap API functions
How to print FoxPro form
Storing screen shot of a form to bitmap file
Using the LoadImage function to have a bitmap file loaded and displayed on VFP main window
Drawing Windows predefined bitmaps using the LoadBitmap functions
Splash Screen for the VFP application
How to put a horizontal text scrolling on the form (a news line, marquee)
How to put a vertical text scrolling on the form (a movie cast)
Displaying animated images on FoxPro form with BitBlt and StretchBlt functions
Storing screen shot of a form to enhanced metafile (*.emf)
Copying picture of the active form to the Clipboard using Enhanced Metafile API functions
How to print FoxPro form -- II
GDI+: saving image of FoxPro form to graphics file (BMP, GIF, JPG, PNG, TIF)
GDI+: sending image of FoxPro form to printer
GDI+: copying to the Clipboard (a) image of active FoxPro window/form, (b) image file
GDI+: how to make VFP controls visually shake and shudder
How to make a VFP form fading out when released (GDI+ version)
How to make a VFP form fading out when released (GDI version)
BOOL BitBlt(
HDC hdcDest, // handle to destination DC
int nXDest, // x-coord of destination upper-left corner
int nYDest, // y-coord of destination upper-left corner
int nWidth, // width of destination rectangle
int nHeight, // height of destination rectangle
HDC hdcSrc, // handle to source DC
int nXSrc, // x-coordinate of source upper-left corner
int nYSrc, // y-coordinate of source upper-left corner
DWORD dwRop // raster operation code
); DECLARE INTEGER BitBlt IN gdi32;
INTEGER hDestDC,;
INTEGER x,;
INTEGER y,;
INTEGER nWidth,;
INTEGER nHeight,;
INTEGER hSrcDC,;
INTEGER xSrc,;
INTEGER ySrc,;
INTEGER dwRop hdcDest [in] Handle to the destination device context.
nXDest [in] Specifies the logical x-coordinate of the upper-left corner of the destination rectangle.
nYDest [in] Specifies the logical y-coordinate of the upper-left corner of the destination rectangle.
nWidth [in] Specifies the logical width of the source and destination rectangles.
nHeight [in] Specifies the logical height of the source and the destination rectangles.
hdcSrc [in] Handle to the source device context.
nXSrc [in] Specifies the logical x-coordinate of the upper-left corner of the source rectangle.
nYSrc [in] Specifies the logical y-coordinate of the upper-left corner of the source rectangle.
dwRop [in] Specifies a raster-operation code.
If the function succeeds, the return value is nonzero.
Not all devices support the BitBlt function. For more information, see the RC_BITBLT raster capability entry in the GetDeviceCaps function as well as the following functions: MaskBlt, PlgBlt, and StretchBlt.
BitBlt returns an error if the source and destination device contexts represent different devices.
Home