Memory Device Context Drawing Class

Category:
Screen/Graphics
Type:
Classes
Difficulty:
Advanced
Author:
Nathan Moschkin

Version Compatibility: Visual Basic 6

More information:
This advanced class encapsulates a number of device drawing functions such as BitBlt, CreateCompatibleDC, SetBkColor, and more. It allows you to do things like set the foreground and background colors on an objectm draw text on it without using the control's properties.

In the example provided in the .vbg, click once on the form to see it draw text and a background color on a form. Double click to see a fade example (Windows 2000/XP only).


Instructions: Click the link below to download the code. Select 'Save' from the IE popup dialog. Once downloaded, open the .zip file from your local drive using WinZip or a comparable program to view the contents.

Download memdc.zip