Page 1 of 1

How to include images in RichText Lib

Posted: Thu May 20, 2004 6:13 pm
by Anden
Very probably this is a question/wish for El_Choni:

Including/Inserting a bitmap (e.g. an emoticon) in rich text seems to be unsolved till today.

Tried the "paste from clipboard" method but the rich text lib always returns 0 for

Code: Select all

SendMessage_(RichEditID(0), #EM_CANPASTE, #CF_BITMAP, 0)
(regardless if it's #CF_BITMAP or #CF_DIB or something else).

And the OLE interface method is more overhead than i ever wanted to see in my code :-)

Any suggestions?

Posted: Thu May 20, 2004 10:28 pm
by Edwin Knoppert
The OLE part, which i haven't seen in pb, is prob not large but looks large.
Just a few callbacks..