M
Mennowar2000
Guest
Hey,
i would like to include the Explorer's RightMouseButton Context Menu Items (iE like Git, 7zip, Open in Npp etc.) in my application's PopupMenu directly. my current solution is to have a menu entry in my context menu which, when clicked, raises the Explorer's Context Menu using ComImports and Shell & Co., then tracking the menu using TrackPopupMenuEx from user32.dll and on mousedown uses Invoke to execute that command.
Yes, it works, but it is a foreign menu and, as i handle copy/pasting files myself in my prog, i am only interested in getting the shell commands.
I know i can read most of them from the registry in HKCR\\*\\... but all i get from there is the name of the associated dll. No entry point or anything else specified to at least dynamically execute the dll.
Any help pointing me into the right direction would be really apreciated
Continue reading...
i would like to include the Explorer's RightMouseButton Context Menu Items (iE like Git, 7zip, Open in Npp etc.) in my application's PopupMenu directly. my current solution is to have a menu entry in my context menu which, when clicked, raises the Explorer's Context Menu using ComImports and Shell & Co., then tracking the menu using TrackPopupMenuEx from user32.dll and on mousedown uses Invoke to execute that command.
Yes, it works, but it is a foreign menu and, as i handle copy/pasting files myself in my prog, i am only interested in getting the shell commands.
I know i can read most of them from the registry in HKCR\\*\\... but all i get from there is the name of the associated dll. No entry point or anything else specified to at least dynamically execute the dll.
Any help pointing me into the right direction would be really apreciated
Continue reading...