EnablePaint example for C++ 4.0 and later

   // disable the paint
   m_Lead1.SetEnablePaint(FALSE);
   // do whatever changes you want. The control will not repaint
   m_Lead1.Size(m_Lead1.GetBitmapWidth() * 2, m_Lead1.GetBitmapHeight() * 2, RESIZE_BICUBIC);
   // re-enable the paint
   m_Lead1.SetEnablePaint(TRUE);
   // call ForceRepaint because the control will not automatically repaint 
   m_Lead1.ForceRepaint();