I am working on a project which aims to gather data on students' writing styl开发者_StackOverflowes. One issue we are currently facing is the idea of context menus. Is there a way I can be notified when the user right clicks, and then clicks "copy," "paste," or any other option?
Thanks, Emily
I'm not sure I agree with your intended approach, but you might want to look into this article on Customizing Context Menus in Office.
If you were to remove all existing context menu offerings and provide your own which wrap those offerings, you can effectively hook into those commands as they're being executed.
That said, I'd like to ask what problem you're trying to solve with this approach; perhaps there's another way?
精彩评论