多个文件的Windows上下文菜单[C ++] [英] Windows context menu for multiple files [C++]

查看:133
本文介绍了多个文件的Windows上下文菜单[C ++]的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想创建一个支持多个文件的上下文菜单。



我通过SO读取并理解,你必须使用DDE或shell扩展创建和注册COM对象)。然而,我发现的所有源代码都在C#。



然后我决定去与COM对象。我发现1在C + +使用COM,但它的日期为2006年,所以我只是不知道它是否过时。 http://www.codeproject.com/KB/shell/shellextguide1.aspx



任何人都可以告诉我一些光吗?



或者如果任何人在使用DDE和IPC之前有类似的东西?




看看文章底部的评论,人们使用它没有问题。 (还有一个到VS 2008模板的多个文件的链接)


I want to create a context menu that support multiple files.

I read through SO and understand that either you must use DDE or shell extension (something to do with creating and registering COM object). However all the sourcecodes I found are in C#.

I then decided to go with COM object. I found 1 in C++ that uses COM but it's dated 2006, so I just don't know if it's outdated. http://www.codeproject.com/KB/shell/shellextguide1.aspx

Can anyone shed me some light on this? And is there any good and new article out there covering this issue?

Or if anyone has some something similar before using DDE and IPC?

解决方案

It should work fine, the underlying mechanic hasn't changed in the last 4 years.

Take a look at the comments at the bottom of the article, people are using it without problems. (There is also a link to a VS 2008 template for multiple-files)

这篇关于多个文件的Windows上下文菜单[C ++]的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
C/C++开发最新文章
热门教程
热门工具
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆