Click here to Skip to main content
11,634,568 members (74,280 online)
Rate this: bad
good
Please Sign up or sign in to 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 12-Feb-12 3:57am
Edited 12-Feb-12 3:58am
v2
Comments
SAKryukov at 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)

  Print Answers RSS
0 OriginalGriff 8,736
1 Sergey Alexandrovich Kryukov 8,359
2 Mika Wendelius 6,845
3 F-ES Sitecore 2,354
4 Suvendu Shekhar Giri 2,205


Advertise | Privacy | Mobile
Web02 | 2.8.150728.1 | Last Updated 12 Feb 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100