开发者

Showing Explorer Menu in Delphi [duplicate]

This question already has answers here: Closed 12 years ago.

Possible Duplicate:

How to 开发者_如何学Gopop-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.


I have answered question like this before. see:

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

I hope it will help you.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜