|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
What is pasted into a RichTextBox?Can someone tell me what DataFormat from the clipboard is used when pasting into a RichTextBox control by using Ctrl-V? If I copy unicode text from a HTML document and paste into a RichTextBox control, it pastes little squares even though the RTB's font is set to "Arial Unicode MS". If I copy the unicode text from the HTML, paste it into MS-Word, copy the MS-Word text, and paste it into the RTB control it works fine. The clipboard's GetFormats() does return different formats when copying from HTML vs MS-Word, but which one does the RTB use? Also, is there someway to get in front the paste routine? I don't see a 'BeforePaste' event or an overridable OnPaste method. Is there a different way? Thanks for your help in advance! Dave Wurtz "Dave Wurtz" <dave_wu***@asdsoftware.com> wrote in message Dave,news:1155322256.257758.47200@i3g2000cwc.googlegroups.com... > Can someone tell me what DataFormat from the clipboard is used when > pasting into a RichTextBox control by using Ctrl-V? I don't know the specific answer to your question. Thought I would mention though that there is a handy little utility for working with the RTB control that I have found useful, may it will help in your situation? http://www.knowdotnet.com/articles/richtextexplorer.html -- Alan
Can I make my program more efficient ?
My for each loops do not compile - VB 2003 Can anyone help in shortening this loop??? tcpListener.AcceptSocket strange behavior Form2.vb[design] innaccessible ! Binding an Image to a picturebox Problem with CustomTyped casting and type checking VB .Net pound problem - HELP! Encryption: VB 2005 And SQL Server 2005 Crash -> no finalize |
|||||||||||||||||||||||