Click here to Skip to main content
15,881,882 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
1 - I have setup a keyboard global listener, and I want to know whats the code to (Copy/Cut/Paste) to clipboard.

For ex.

F4 = Copy to clipboard.
F5 = paste...
...etc

2 - and I was able to suppress the right & left mouse clicks, is there like a method to suppress other keys like (L, K, O, Alt, Space..etc)?

P.S: the app works in the background, and activate the functions from there.

Thanks,
Regards.
Safi
Posted
Updated 12-Feb-12 3:58am
v2
Comments
Sergey Alexandrovich Kryukov 12-Feb-12 14:17pm    
1) What is "global listener"? A "listener"? (yes, I know what the listener is, but this is C#, so what have you done?)
2) No, you could not suppress a click :-) So, what exactly have you done?

What do you mean by "suppress a key". You cannot suppress a key, this a part of your keyboard. You can only modify the effect of it. So, what happens if you don't "suppress" and what do you expect to happen? In what control, application, etc.?

What's the ultimate purpose of it.

Maybe should code sample could help.
--SA

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