Author Topic: Modeless RichEditControl  (Read 3681 times)

guga

  • Moderator
  • Member
  • *****
  • Posts: 1451
  • Assembly is a state of art.
    • RosAsm
Modeless RichEditControl
« on: August 21, 2012, 11:23:18 PM »
Small Example of a modeless RichEdit Control using Tom Interfaces (ITextHost and CFormattedTextDraw classes).

This is just a test, it needs clean up the code....Since it was a pain to make it work, the code is kinda messy. I´ll clean up the code soon.

It was Converted for RosAsm from the C source below:
http://www.codeguru.com/cpp/controls/richedit/windowless/article.php/c5367/ITextSevices--Using-the-Windowless-RichEdit-for-Drawing-RTF.htm


The usage of these interfaces seems interesting, because you may be able to insert a RTF text as a mask on videos, images, or make special effects with RTF text (Like making it roll up and down, zooming etc etc)

Guga
Coding in Assembly requires a mix of:
80% of brain, passion, intuition, creativity
10% of programming skills
10% of alcoholic levels in your blood.

My Code Sites:
http://rosasm.freeforums.org
http://winasm.tripod.com