如何创建上下文菜单选项“发送至” [英] How to create context menu option Send To

查看:86
本文介绍了如何创建上下文菜单选项“发送至”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,


有人可以指点我如何创建"发送到"的信息。菜单项。


最好在C ++ / CLR中。


,即:在Windows资源管理器中,右键单击 - >发送至


想要在我的应用程序中复制该功能。


其他需要帐户访问的其他内容:
A managed"Send To"菜单类


谢谢


-Enjoy

fh:)_~

RIP Hammer

解决方案

获取IContextMenu界面是必不可少的步骤。 然而,为了获得"发送到"而涉及更多内容。菜单和它的子菜单,以正确显示。请参阅
如何托管IContextMenu,第5部分处理菜单消息讨论所涉及的问题。


恕我直言,Raymond Chen的整个11部分剧集值得一读。 


Hi all,

Could someone please point me in the direction of information on how create a "Send To" menu item.

Preferably in C++/CLR.

i.e.: In Windows Explorer, Right Click -> Send To

Would like to replicate that functionality in my application.

Other then this one that requires an account to access: A managed "Send To" menu class

Thanks

-Enjoy
fh : )_~
RIP Hammer

解决方案

Obtaining an IContextMenu interface is an essential step.  However, there is more involved in order to get the "Send To" menu and it's submenus to display properly. See How To host an IContextMenu, part 5 Handling menu messages for a discussion of the issues involved.

IMHO, the entire 11 part series by Raymond Chen is a worthwhile read. 


这篇关于如何创建上下文菜单选项“发送至”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆