CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5

Thread: Text Editor!

  1. #1
    Join Date
    Mar 2004
    Location
    100m below sea level
    Posts
    189

    Text Editor!

    Hi,

    I have an SDI aplication based on formview. In the form view, I need a control that acts like wordpad. I already have all the other controls like font combos and color picker, and I already tried to use richedit control. However, the rich edit control have a limited feature's , it doesn't support picture insertion, how do I do it?

    I need the editor acts exactly like worpad where i can resize the picture in the rich edit. Is there any way to do this???
    I also need to convert the formated text to HTML formats.

    Or should I use other method instead of using richedit?? Please help me.. I've been stuck on this for a long time now!!!

    Any suggestion or advice would be really helpful. Thanks.
    Come Join This Poll Where are we from? (Ultimate)

    Knowing is not enough; we must apply. Willing is not enough; we must do. - Johann Wolfgang
    An idle brain is the devil's workshop. - unknown

  2. #2
    Join Date
    Jul 2003
    Location
    Korea
    Posts
    60
    I have no experience about this problem. As I know, you have to read OLE-related documents. OLE is part of Active Technology. With OLE (Object linking and embedding) :

    - Your document is compound document (container)that can have several type of documents such as image, form, or graph. I will link to these objects.
    - Your document is also a application server where you can edit seperate objects without swichting to their editor programs.
    Quang

  3. #3
    Join Date
    Feb 2002
    Posts
    3,788
    give me your email.
    i'll send a MFC sample that'll help.

  4. #4
    Join Date
    Mar 2004
    Location
    100m below sea level
    Posts
    189
    Come Join This Poll Where are we from? (Ultimate)

    Knowing is not enough; we must apply. Willing is not enough; we must do. - Johann Wolfgang
    An idle brain is the devil's workshop. - unknown

  5. #5
    Join Date
    Feb 2002
    Posts
    3,788
    Originally posted by Max Payne
    Thanks!
    [email protected]
    sent!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured