Available in the LEADTOOLS Imaging toolkit.
PaintContrast example for C++ 4.0 and later
This example increases the contrast for painting images.
m_Lead1.SetPaintContrast(m_Lead1.GetPaintContrast() + 100); m_Lead1.ForceRepaint();