Author Topic: A richedit implementing Iricheditole to see images in your RTF files  (Read 4289 times)

TouEnMasm

  • Member
  • *****
  • Posts: 1501
    • EditMasm
Hello,
It is a demo program.
Use the menu "Fichier" >>> Init Ole,a text prompt you when it is done.
Copy paste an image on it,save file (enregistrer),reload(charger).
To save file with images,the prog need to be modify.
« Last Edit: August 30, 2012, 02:10:15 AM by ToutEnMasm »
Fa is a musical note to play with CL

TouEnMasm

  • Member
  • *****
  • Posts: 1501
    • EditMasm
Re: A richedit implementing Iricheditole to see images in your RTF files
« Reply #1 on: June 28, 2020, 05:04:13 PM »

I have retook the sample .The exe file need to be recompile with actual libraries.
I have recompile it with the vs2017 and made a little modify of proto name s in ole.inc.
The clipboard must have an image in BMP format to pass it to the richedit.
Other format need a conversion.
Fa is a musical note to play with CL

TouEnMasm

  • Member
  • *****
  • Posts: 1501
    • EditMasm
Re: A richedit implementing Iricheditole to see images in your RTF files
« Reply #2 on: June 29, 2020, 06:36:23 PM »
This one is for the fun.
With WIndows 10 and the Msftedit.dll and the MSFTEDIT_CLASS (MSFTEDIT_CLASS   equ   <"RICHEDIT50W">)
you need to know two things, the clipboard and the SHIFT + INSERT key.
There is no need of ole
load the essai.rtf and have fun.Big images are slow to load.

Fa is a musical note to play with CL