This example shows some property settings you might want to make prior to displaying an image.
void CImgEdit1Dlg::OnLoadEditctrl1(double Zoom)
{
// Here are some examples of default settings you might
// want to specify prior to displaying an image.
// Repaint any changes immediately (ex. zoom or resolution
// changes, etc.)
ImgEdit1.SetAutoRefresh(TRUE);
// ScrollBars already default to true, but this is
// modifiable if desired
ImgEdit1.SetScrollBars(TRUE);
// Scale black and white images to grayscale. Keep color image
// displayed as color images.
ImgEdit1.SetDisplayScaleAlgorithm(4); // wiScaleOptimize
// Allow user to scroll image using keyboard shortcuts
ImgEdit1.SetScrollShortcutsEnabled(TRUE);
// Display all OCR zones
ImgEdit1.SetOcrZoneVisibility(3); // wiOcrShowAllZones // 3
}