Click here to Skip to main content
12,996,709 members (79,497 online)
Rate this:
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...

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.

Posted 12-Feb-12 3:57am
Updated 12-Feb-12 3:58am
SAKryukov 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.

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170609.2 | Last Updated 12 Feb 2012
Copyright © CodeProject, 1999-2017
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