views:

140

answers:

1

I have a file listing in my application and I would like to allow people to right-click on an item and show the same contextual menu as Finder does. Is this possible?

The same functionallity but for Windows Explorer is discussed in http://stackoverflow.com/questions/451287/how-do-you-show-the-windows-explorer-context-menu-from-a-c-application.

+1  A: 

You can't extract the Finder's contextual menu in any stable way, no. Neither can you tell the Finder “show your contextual menu here, as if the user had right-clicked on this item”.

You'll have to make your own.

Peter Hosey
Thank you. Even DiskOrder has it's own contextual menu so I really have to forget this idea.
Petr Havlicek