I tried to display an Indy 10 Message in a TWPRichText. I followed the documentation and the sample but it doesn't seem to work. It displays the text correctly but where the actual images should be placed there are only red squares.
You can download a sample program that illustrates the wrong behaviour. You can download it from here: http://www.niftybits.de/downloads/HttpImageBug.zip
Just run it and you'll see the red squares.
The images are read in correctly; if I save them in the OnRequestHTTPImage to disk they are correct.
For a test I also tried: instead of loading the images from the mail l loaded them from disk directly. This had the same wrong result.
It has probably to do that TextObject.Width and .Height are 0 after:
I cannot debug it further since I don't have the source code. Therefore I would be very happy if Julian could have a look at it.
Regards,
Dirk.