Help me paste clipboard text with double right click (or right click, click)

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

candysandra87

Thread Starter
Joined
Dec 13, 2008
Messages
37
Hello. Using vb.net, I've been trying to figure out how to paste the clipboard into the window your mouse pointer is pointed.

If anyone has used unix you are familiar with what i am asking for; just to double right click or middle click and to paste the content of clipboard to the given window.

Can anyone offer any ideas for .net?

I would use double right click, or middle click, or single right click.

Please respond with your ideas~

Thanks

-Sandra
 

candysandra87

Thread Starter
Joined
Dec 13, 2008
Messages
37
This is kind of confusing but I just wanted code to paste the clipboard by using the mouse.
 
Joined
Feb 17, 2008
Messages
490
You can use the ClipBoard keyword to access the windows clipboard, and then use the FindWindows and FindWindowEx api to get the textbox handle, and then use the SendMessage api to set the text in the textbox. There should also be some api's that can be used to get the mouse position and mouse clicks..

if you are not familiar with how windows api's work, with a little googling I'm sure you can find working examples of what you are trying to do.
 
Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 807,865 other people just like you!

Latest posts

Staff online

Top