开发者

Showing Explorer Menu in Delphi [duplicate]

开发者 https://www.devze.com 2022-12-21 17:28 出处:网络
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?
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

精彩评论

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