Olecontainer to richedit
Posted on 1998-06-24
I am doing a program in which various objects are displayed in ole containers
for insertion in a richedit.
The richedit part of the program will paste objects with no problem and will
accept drag-drop objects with no problem. and it will
open them for editing via the doverb functions. All is AOK
However, when I insert them via the insertobject function,
they seem to be inserted ok. You can edit them whatever.
But when the file is saved and reopened, the object is no longer there.
Well if you click around on the page you can find the object but it is empty.
The verb menu comes up but errors out.
If the object is manually dragged with mouse after I insert it,it will be saved .
Does it sound like I missed a lot of code or is it a small matter.
BTW: If the object is inserted as a link, everything works perfect.
I really don't want to use a 3rd party richedit.