|
Short story: Provides TransBlt and TileBlt routines for transparent and tiled bitblts.
Longer description from old site: click here.
To be edited...
This sample, or the one from which it originally derived, was published (or at least peripherally mentioned) in the following article(s):
- Make the Most of Resources, Programming Techniques, VBPJ, January 1997
- Name the Domain, Q&A, VBPJ Enterprise Edition, 1997
This sample uses the following API calls:
Module Library Function CPictureDC.cls gdi32
user32CreateCompatibleDC
DeleteDC
DeleteObject
GetObject
GetPixel
SelectObject
GetDC
GetDesktopWindow
ReleaseDCCustomBlt.bas gdi32
kernel32
msimg32
user32BitBlt
CreateBitmap
CreateCompatibleBitmap
CreateCompatibleDC
DeleteDC
DeleteObject
GetDeviceCaps
GetObject
SelectObject
SetBkColor
SetBkMode
FreeLibrary
GetModuleHandle
GetProcAddress
LoadLibrary
TransparentBlt
GetClientRect
GetDC
ReleaseDCDon't see what you're looking for? Here's a complete API cross-reference.
Please, enjoy and learn from this sample. Include its code within your own projects, if you wish. But, in order to insure only the most recent code is available to all, I ask that you don't share the sample by any form of mass distribution. Download CustomBlt.zip, 78Kb, Last Updated: Wednesday, April 12, 2000
The following resources may also be of interest:
- MemoryDC - Provides a virtual canvas in memory for you to draw on; separates hBitmap from StdPicture for use with APIs.