OLE in Delphi without using the clipboard
Posted on 2004-08-23
In my last question asked here I ask how to put pictures in a Richedit control. I found the solution in the form of a zip
file MyRicheditEx I don't remember exactly where. The solution worked. However the sample code give uses the clipboard to insert picture. The following code insets the picture. I would like to know how to do this with using the clipboard.
procedure insertbmp(MyRich: TRichedit; bmpname: string);
Pict := TPicture.Create;
I found some code on this board to back up and restore the clipboard but I would perfer not to use the cliboard at all.