473,320 Members | 1,977 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

How to intercept the paste message in RichTextBox

I want to know how to capture the paste message.
I tried to capture the WM_PASTE, but it seems as the
richtextbox doedn't send this message.
But in fact, I can find the textbox will send paste
message when I press CTRL+V.
(Don't tell me to capture the key press event)

Nov 15 '05 #1
0 3601

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Legendary Pansy | last post by:
I was checking out the 101 C# Samples, specifically Windows Forms - Use the Clipboard. I took a look at the code for a while, and I understand what the program is doing with the cut, copy, pasting...
3
by: Radovan Radic | last post by:
Hello all, I am new to .NET and a i am moving from Delphi (finally!) to C#. Now, i am trying to develop custom TextBox for numeric input. I have done it almost, now i need to prevent paste so...
3
by: **Developer** | last post by:
I need to paste an RTF non-ANSI string into a RichTextBox. I know how to do that if the string were all ANSI characters. But the text contains Unicode characters that have no ANSI equivalent. I...
13
by: John | last post by:
Hi How can I implement cut or copy or paste in code? Thanks Regards
2
by: Microsoft | last post by:
I'm not sure which control to use for this: I would like the user to be able to paste a list of items into a box and then be able to run through them one at a time. Hopefully there is a control...
2
by: **Developer** | last post by:
I've seen applications that have a Paste Special and if clicked allow either the Data to be pasted or a Link to be pasted. I'm using the RichTextBox and I'd like to implement that feature. ...
0
by: New at C# via DotNetMonster.com | last post by:
i have 2richtextboxs,2buttons and 2tabs i already have copy working but i need help with paste i need is so when i paste to richtextbox1 it will paste to richtextbox1 and not richtextbox 1 and...
0
by: Vimalathithan | last post by:
Hi Every one, I have developing the user control with RichTextBox in C# windows application. The problem is when I paste any text inside the RichTextBox at the runtime the pasted lines not in...
0
by: ting ting | last post by:
I am using ASP.net 2003 to write program. I have a RTFtextbox and I want to copy the words from MS WORD and paste it in the RTFtextbox. However, it said : System.ArgumentException: 無效的檔案格式。 at...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.