Hi,
If I right click on (for example) a folder I can see a lot of commands available (Property, Delete, Rename...).
Some particular programs can use this context menu to add their functionalities fast available for the user.
For example SVN, GnuGPG, 7Zip, Winzip, Rar...
I need to create a program that acts on a selected folder recursively for all the tree and I would like to give the same behavior as the above programs.
In this way I can go to the folder, right-click on it ad run (for example) "MyProgram" that catch the clicked folder path ad acts on it.
I have no idea on how to do it.
I can create the same program with a standalone form on which you can browse all the drives to select the desired folder but this is not what I want
I know how to create and manage a context menu but only in a form.
And also, I don't know how the program can understand which folder has been clicked on.
At the end, I would like my context menu to be visible only if some particular conditions are present such as the fact that the click has been done on a folder and not on a file.
Thanks for your help
Davide
If I right click on (for example) a folder I can see a lot of commands available (Property, Delete, Rename...).
Some particular programs can use this context menu to add their functionalities fast available for the user.
For example SVN, GnuGPG, 7Zip, Winzip, Rar...
I need to create a program that acts on a selected folder recursively for all the tree and I would like to give the same behavior as the above programs.
In this way I can go to the folder, right-click on it ad run (for example) "MyProgram" that catch the clicked folder path ad acts on it.
I have no idea on how to do it.
I can create the same program with a standalone form on which you can browse all the drives to select the desired folder but this is not what I want
I know how to create and manage a context menu but only in a form.
And also, I don't know how the program can understand which folder has been clicked on.
At the end, I would like my context menu to be visible only if some particular conditions are present such as the fact that the click has been done on a folder and not on a file.
Thanks for your help
Davide