views:

89

answers:

1

Possible Duplicate:
How to pop-up the Windows context menu for a given file using Delphi?

Hello. In Delphi, we can use TShellListView to show files in a component like windows explorer. When i click on an icon in it, it shows a popup menu same as windows explorer. Can i show same menu automatically without using TShellListView?

Example i will write a function like;

ShowFileMenu( 'c:\file.txt' );

and it will show that file's windows explorer menu.

Thanks.

+2  A: 

I have answered question like this before. see:

http://stackoverflow.com/questions/1581975/how-to-pop-up-the-windows-context-menu-for-a-given-file-using-delphi

I hope it will help you.

Issam Ali