Click here to Skip to main content
11,934,809 members (42,323 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 4:57am
Edited 12-Feb-12 4: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
Web03 | 2.8.151126.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