Click here to Skip to main content
11,410,118 members (62,091 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 4:57am
Edited 12-Feb-12 4: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 Sergey Alexandrovich Kryukov 169
1 OriginalGriff 70
2 BillWoodruff 70
3 Maciej Los 68
4 Philippe Mori 60
0 Sergey Alexandrovich Kryukov 8,755
1 OriginalGriff 6,915
2 Maciej Los 3,390
3 Abhinav S 3,248
4 Peter Leow 3,059


Advertise | Privacy | Mobile
Web04 | 2.8.150414.5 | 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