开发者

Context menu entries in Windows

开发者 https://www.devze.com 2023-02-21 19:37 出处:网络
Im looking for a way to have the context menu with more options, like copying text and sending it to a server, or translator.开发者_StackOverflow社区 Any suggestions on how to do this?

Im looking for a way to have the context menu with more options, like copying text and sending it to a server, or translator.开发者_StackOverflow社区 Any suggestions on how to do this?

Edit: Right clicking a string, which will allow me to parse that string into an aplication of mine. (So in Win Explorer).


See MSDN for information about adding file type handlers

You basically have two options; you can register a simple static verb that executes a application (and passing the filename as a parameter), or you can create a shell extension that implements IContextMenu.

MSDN has information about both methods (If you want to handle any file type, register yourself under HKEY_CLASSES_ROOT\* or HKEY_CLASSES_ROOT\AllFilesystemObjects)

0

精彩评论

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