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

Threaded View

  1. #1
    Join Date
    Feb 2006
    Posts
    16

    Pasting text from webpage to RichTextBox

    When you paste text from webpage to RTB, it loses it's formatting: font style, font size, bold/italic...
    Is there a way to fix this?

    I'm trying to catch Ctrl ^ v and extract the format data from Clipboard. But all I can google is posts doing the reverse of that (only allowing plain text in rtb).
    Please help.


    Edit: Ok, after a very long google run, I found out RTB doesn't support html format. I came across DHTML Control - DHTMLEdit: http://forums.microsoft.com/MSDN/Sho...13197&SiteID=1

    The control ok, except it's lacking basic rtb features: BorderStyle, ScrollToCaret...
    So my new question: Is there a way to combine a DHTML and RTB? I'm new to overriding.
    Last edited by SomE; April 21st, 2008 at 07:19 AM.

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