Available in LEADTOOLS Medical Imaging toolkits.
Window Control/Image Viewer Functions: Custom Painting
LImageViewerCell::PaintCallBack
LImageViewerCell::EnablePaintCallBack
LImageViewerCell::RepaintCell