Underlay example for C++ 4.0 and later

This example loads a bitmap into m_Lead2 and uses it as a tiled underlay for m_Lead1.

m_Lead2.ShowWindow(SW_HIDE);
m_Lead2.Load("c:\\lead\\images\\ulay1.bmp", 0, 0, 1);
m_Lead1.Underlay(m_Lead2.GetBitmap(), UNDERLAY_TILE);
m_Lead1.ForceRepaint();