Click here to Skip to main content
13,196,730 members (56,768 online)
Rate this:
Please Sign up or sign in to vote.
See more:

How to track events when the user right clicks and selects the options copy or cut or rename or delete using Mouse Hooks.I am successful in trapping the events using Keyboard hooks but i am struck in finding the mouse right click events(Copy,cut,delete,rename).

I want to find this events through out the system not with in my application.Kindly can any one help me to solve this.I am trying to solve this from long time.

Thanks in Advance.

/EDIT Removed Formatting
Posted 28-Dec-12 19:48pm
Updated 28-Dec-12 20:31pm
Hetal Jariwala 29-Dec-12 1:55am
you can use this windows hook library
Rocky_Bas 29-Dec-12 2:04am
I need the specific events for Copy,cut,delete using Mouse right click.
Like for key board we use VK_DELETE
Josh Hawley 2-Jan-13 16:43pm
That is going to be difficult because of the delete. copy, cut, paste you could monitor the clipboard for, but delete is usually implemented by each application.
Rocky_Bas 2-Jan-13 20:44pm
How to monitor those copy,cut,paste from mouse right click
Philippe Mori 3-Jan-13 10:47am
As far as I know, there are no standard way of doing that and each application handle right clicks, contextual menus and the clipboard for itself.

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 |
Web02 | 2.8.171019.1 | Last Updated 29 Dec 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