Information générale
Titre:
How to insert a graphic file (BMP) into the RichText control
I need to insert a graphic image into the text content of a file loaded into the OLERtf control. The command
olertf.oleobjects.add(,,lcPicture)
will insert the graphic, but as an oleobject, not an inline graphic.
Also, .ADD not only inserts the object, it opens the appropriate program that would be used to edit the graphic (per the registry entry for that file type).
I can successfully copy a file (manually) to the clipboard, then CTRL+V will paste the graphic inline. I can accomplish the CTRL+V with a KEYBOARD command, but what DLL function or API call or RUN command will copy the contents of a file to the Windows Clipboard?
Or, does anyone know how to paste a graphic (BMP) into the RichText OCX control?
Thanks in advance!
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement