If there are multiple Image Edit controls within an application, set the DestImageControl property to specify which control will receive the scan data.
Void CNewscanDlg::OnDestimagecontrol()
{
// The DestImageControl property must be set to match
// the value specified in the ImgEdit's ImageControl property.
// This would scan to an ImgEdit control referred to as ImgEdit2.
ImgScan1.SetDestImageControl("ImgEdit2")
ImgScan1.StartScan();
}