09-04-2017, 07:31 PM
1.
To display a bmp/png/jpg/gif image in a static bitmap control, assign s to the dialog variable of the control before calling ShowDialog.
Or, if you need bitmap handle, use int hBitmap=LoadPictureFile(s). Later DeleteObject(hBitmap).
QM cannot display images in rich edit controls, or I don't know how.
2. Will need a temporary zip file.
str zipData.getfile(s); zipData.setfile(...
To display a bmp/png/jpg/gif image in a static bitmap control, assign s to the dialog variable of the control before calling ShowDialog.
Or, if you need bitmap handle, use int hBitmap=LoadPictureFile(s). Later DeleteObject(hBitmap).
QM cannot display images in rich edit controls, or I don't know how.
2. Will need a temporary zip file.
str zipData.getfile(s); zipData.setfile(...
