XP中的对话框模板替换标准Win7对话框。 [英] Dialog Template from XP Replacing the Standard Win7 Dialog.

查看:64
本文介绍了XP中的对话框模板替换标准Win7对话框。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello Developers

Hello Developers

我正在使用VS 2010在Winxp上编译我的应用程序。我还使用Dialog模板添加了一些自定义控件就像预览。当我在Win7上运行此应用程序时,它显示标准的Win7打开对话框,然后我将CFileDialog
bVistaStyle的最后一个参数更改为FALSE以使用Xp样式对话框模板。但之后它只显示了带有预览的Win xp样式对话框,没有"搜索选项"我们在Win7中的标准Open Dialog中有。自定义控件取代了Win7控件。

I am compiling my application on Winxp using VS 2010. I m also adding some custom Controls Like Preview using Dialog template. When I run this application on Win7, it was showing standard Win7 Open Dialog, Then I changed the last Parameter of CFileDialog bVistaStyle to FALSE to use Xp style Dialog Template. But After that it was showing only Win xp style Dialog with preview, there were no "Search Option" that we have in standard Open Dialog in Win7. Custom Controls replaced Win7 Controls.

所以,我想知道如何实现两个控件[我的旧cutom控件与预览&+ 7 Win7标准控件]?

So, I want to know that How can I achieve both Controls[ my Old cutom Control with preview + Win7 Standard Controls] ?

任何想法?

谢谢&问候

Y

推荐答案

欢迎来到这里。

您的自定义控件是否包含任何搜索选项,例如Windows 7搜索选项?我已经测试了创建CDialog的问题,其中bVistaStyle设置为true和false。搜索选项和其他风格适用于Vista或更高版本。

Does your custom control contain any search option, like Windows 7 search option? I have tested the issue which the CDialog is created with the bVistaStyle set to true and false. The search option and other style are for Vista or later.

祝你有愉快的一天。

问候,


这篇关于XP中的对话框模板替换标准Win7对话框。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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