Click here to Skip to main content
15,917,059 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
hi!
I'm doing a project
I need copy text a word with the click of a mouse anywhere (web_app_text...)Without my interference(by mouse position)

and move to mytextbox

like this :
Clipboard.SetText(richTextBox1.SelectedText);
Thread.Sleep(3000);

textBox1.Text = Clipboard.GetText();

but anywhere

tanks all
Posted
Comments
[no name] 10-Aug-13 19:49pm    
http://stackoverflow.com/questions/6384562/how-to-get-text-under-mouse-in-any-open-window
amirpooya 11-Aug-13 7:51am    
thanks
BillWoodruff 11-Aug-13 6:32am    
Please search CodeProject for "GlobalHook"

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900