Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C++ MFC
Hello,
 
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 20:48pm
Edited 28-Dec-12 21:31pm
(no name)16.6K
v2
Comments
Hetal Jariwala at 29-Dec-12 1:55am
   
you can use this windows hook library
http://www.code2point.com/Project.aspx?proj=4
Rocky_Bas at 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 at 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 at 2-Jan-13 20:44pm
   
How to monitor those copy,cut,paste from mouse right click
Philippe Mori at 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
0 Sergey Alexandrovich Kryukov 575
1 Kornfeld Eliyahu Peter 409
2 Maciej Los 369
3 DamithSL 196
4 OriginalGriff 188
0 OriginalGriff 6,353
1 DamithSL 4,854
2 Maciej Los 4,476
3 Kornfeld Eliyahu Peter 4,058
4 Sergey Alexandrovich Kryukov 3,917


Advertise | Privacy | Mobile
Web03 | 2.8.141220.1 | Last Updated 29 Dec 2012
Copyright © CodeProject, 1999-2014
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