locked
How can I handle right-click of my application itself ? RRS feed

  • Question

  •  

    I have an end application (say Click.exe) which is placed on my desktop.

    Now, I want to handle the Right click event of this exe itself ie.

    if I right-click on the exe, I must be able to see a customized menu.

    I know I don't have any control over the application Click.exe as such
    because it is not yet started (ie. double-clicked).

    Is this possible preferably by any VC++ way of handling events.

    Any other solution like shell scripting ideas are also welcome.

    Thanks in advance.

    Friday, July 4, 2008 12:13 PM

Answers

  • It sounds like you want a Shell Extension Context Menu. There are various code examples on the Internet for you to research.
    • Marked as answer by nobugz Friday, July 4, 2008 8:18 PM
    Friday, July 4, 2008 4:11 PM