不需要显示以前版本的cfiledialog [英] Show previous versions of cfiledialog is not required

查看:72
本文介绍了不需要显示以前版本的cfiledialog的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我正在使用CFiledialog的vista风格来拥有最新款式的Windows,在Win 10中它的工作效果与Win 7 Ultimate相同。我收到一条警告信息,比如媒体被写保护。

我不希望此应用程序中的打开按钮的默认下拉列表。如果不可能,我不想显示消息。



提前感谢您的建议!!



我尝试了什么:



我试过禁用/隐藏的标志没有运气

Hi,

I am using CFiledialog's vista style to have the latest style of the windows, In win 10 its working good where as in Win 7 Ultimate. I'm getting a warning message like the media is write protected.
I don't want the default drop down for open button in this application. if its not possible, I don't want to show the message.

Thanks in advance for the suggestions!!

What I have tried:

I tried for the flags to disable/hide with no luck

推荐答案

CFileDialog有点棘手,所以我记得几年前搞乱它。我认为文章显示'新'Vista / Windows 7文件对话框显示了解决我的问题的方法或更广泛的文章 XFileDialog - 自定义CFileDialog 及其链接应该最终帮助你。



如果你不能解决它,而不是考虑使用不同的Windows版本的不同实现。
The CFileDialog is a bit tricky, so I remember messing around with it some years ago. I think the article Displaying the 'new' Vista/Windows 7 File Dialog shows what solved my problems or the broader article XFileDialog - Customizing CFileDialog with its links should finally help you.

If you cant solve it than consider using different implementations for the different Windows versions.


奇怪自从您在如何禁用开放式下载中发布此相同问题后,没有任何变化down - ATL / WTL / STL讨论区 [ ^ ]和 C ++中的Vista好东西:使用新的Vista文件对话框 [ ^ ]。请不要重新发布,但要回复那些已经提出建议的人。
Strangely enough nothing has changed since you posted this same question at How to Disable open drop down - ATL / WTL / STL Discussion Boards[^] and Vista Goodies in C++: Using the New Vista File Dialogs[^]. Please do not repost, but reply to people who have alreay offered suggestions.


这篇关于不需要显示以前版本的cfiledialog的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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