Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to insert a graphic file (BMP) into the RichText control
Message
From
18/12/1998 15:34:16
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
How to insert a graphic file (BMP) into the RichText control
Miscellaneous
Thread ID:
00169010
Message ID:
00169010
Views:
63
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!
Reply
Map
View

Click here to load this message in the networking platform