How to get the mouse to select the file information

I want to get the mouse to select the file information.

How do I do? My purpose is to add a menu item uninstall feature, so need to right click on the menu item, find the corresponding uninstall program. So we need to get the path to find, I how to achieve it?

Started by Jerome at November 15, 2016 - 1:16 AM

Right click on the file can be achieved using the mouse hook, get the WM_RBUTTONDOWN event.
Handle and get file name can be obtained by clicking the file in Windows SysListView32. According to click the index gets its name, is according to the online approach is the file name, not the full path, this problem I haven't found the solution.
As for the right to add the menu, the Internet is a great code, basically is to modify the registry.
You refer to these two articles:
1 to obtain the SysListView32 click on the file name

Add 2 menu

Posted by Fitzgerald at November 17, 2016 - 1:22 AM