I have a windows application which displays a list of files (available on shared resources on the network) in a list view.The application has a context menu enabled on the list view. I need to accomplish 2 tasks:
1. On clicking on a menu named "Properties", i need to show the property page for the file selected (as in Windows Explorer).
2. In the list view control, in a parallel column, i need to show the file type. For example, if the file is a zip file, the type would be displayed as WinZip files (as in Windows Explorer).
I've tried some shell programming using IShellFolder, but I'm unable to proceed. For displaying the properties page, I tried using ShellExecute with the "properties" verb but that is not working.
Are there any other ways?