Hi,
I'm having some difficulty persuading a bitmap image to display in a window created using DDT.
The image is on file - my app. is such that I'll need to change the image at run time, so I can't put it into a resource file.
So I can't use DDT's CONTROL ADD IMAGE statement... or can I? If I could use that, then change the image in the control to one from a .bmp file, that would be ideal.
Otherwise, does anyone have any source they could share showing how to put an image from a file onto a DDT dialog?
(The images I'll eventually be using are JPEGs of around 1200x800 pixels, which I'll want to display a thumbnail of width about 150 dialog units. At this point I'm trying to walk before I can run, and I have a bitmap image of 634x427 pixels as a test file. If I can get that to display, I'll be able to tackle the IJL library.)
Thanks,
Dan.
I'm having some difficulty persuading a bitmap image to display in a window created using DDT.
The image is on file - my app. is such that I'll need to change the image at run time, so I can't put it into a resource file.
So I can't use DDT's CONTROL ADD IMAGE statement... or can I? If I could use that, then change the image in the control to one from a .bmp file, that would be ideal.
Otherwise, does anyone have any source they could share showing how to put an image from a file onto a DDT dialog?
(The images I'll eventually be using are JPEGs of around 1200x800 pixels, which I'll want to display a thumbnail of width about 150 dialog units. At this point I'm trying to walk before I can run, and I have a bitmap image of 634x427 pixels as a test file. If I can get that to display, I'll be able to tackle the IJL library.)
Thanks,
Dan.
Comment