Available in the LEADTOOLS Imaging toolkit.
Fill example for C++ 4.0 and later
This example fills the bitmap with blue and repaints the image.
m_Lead1.Fill(RGB(0, 0, 255)); m_Lead1.ForceRepaint();