.NET
trans.txt
Associated article: Transparent ATL Controls
Tags: Web Development .NET
Published source code accompanying the article by Tom Armstrong and Mark Nelson in which they use Microsoft's Active Template Library to build an ActiveX control that displays a bitmap with a single transparent color. You can then use the control with Internet Explorer, Netscape Navigator, Visual Basic, and most other ActiveX containers. Also see TRANS.ZIP.
Transparent ATL Controls
by Tom Armstrong and Mark Nelson
Listing One
BOOL CTransCtrl::OnEraseBkgnd(CDC* pDC)
{
CWnd* pWndParent = GetParent();
POINT pt;
pt.x = pt.y = 0;
MapWindowPoints(pWndParent, &pt, 1);
OffsetWindowOrgEx(pDC->m_hDC, pt.x, pt.y, &pt);
::...


