CTL3D: Demonstrates Three-Dimensional Controls

CLT3D is a companion sample to the "Adding 3-D Effects to
Controls" technical article on the Microsoft(R) Developer
Network CD. CTL3D uses the CTL3D.DLL library to add 3-D
effects to all controls.

The 3-D effect gives the Windows(TM) interface a more
sophisticated appearance. It also gives the user a clearer
indication of which actions are taking place. A 3-D button
that looks pressed provides more information than a two-
dimensional (2-D) button that simply changes color.

Windows version 3.x uses 3-D for pushbuttons only; all
other standard controls are in 2-D. However, many
applications have started adopting 3-D for other controls
as well, so the complete 3-D look is now associated with
leading-edge applications and is quickly becoming a
standard. For example, Microsoft Excel version 4.0 uses 3-
D for all controls. The CTL3D library was created by the
Microsoft Excel development group and contains all of the
functionality required for 3-D controls.

Microsoft Excel CTL3D was built and tested under Microsoft
Windows 3.1, but will also run under Windows 3.0.

KEYWORDS: PR-CD2; SendMessage; ExtTextOut; SetTextColor;
OffsetRect; DrawText; IntersectClipRect;
GetTextExtentPoint; GetTextExtent; GetCurrentTask;
GetParent; GetDeviceCaps; GetSystemMetrics; GetClassInfo;
subclass; hook; GetSysColor
