Added reference to dlgPreviewSize