修改文件夹浏览对话框的语言 [英] Modify the language of the folder browse dialog

查看:59
本文介绍了修改文件夹浏览对话框的语言的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我调用声明为GetOpenFileName(LPOPENFILENAME)的函数时,如何修改语言。我想使用对话框的vista样式。

解决方案


感谢您在此处发布。


>>当我调用声明为GetOpenFileName(LPOPENFILENAME)的函数时,如何修改语言。我想使用对话框的vista风格。


请提供有关您的要求的更多信息。您对修改语言有何意义?


您的Windows现在是哪个版本?


Windows继续支持旧式打开对话框对于希望维护与旧式用户界面一致的用户界面的应用程序。如果您需要旧式用户界面,请省略OFN_EXPLORER标志并提供替换
旧式模板或挂钩过程。如果您想要旧样式但不需要自定义模板或钩子过程,只需提供始终返回FALSE的钩子过程。


有关详细信息,请参阅下面的此文档。 / p>

https ://msdn.microsoft.com/en-us/library/windows/desktop/ms646960(v = vs.85).aspx#_win32_Explorer_Style_Custom_Templates


希望这可能是帮助你。


最好的问候,


Baron Bi


How can I modify the language when I call the function that is declared as GetOpenFileName(LPOPENFILENAME). And I want to use the vista style of the dialog.

解决方案

Hi,

thanks for posting here.

>>How can I modify the language when I call the function that is declared as GetOpenFileName(LPOPENFILENAME). And I want to use the vista style of the dialog.

Please provide more information about your requirement. What do you mean about modify the language?

Which version is your Windows now?

Windows continues to support the old-style Open dialog box for applications that want to maintain a user-interface consistent with the old-style user-interface. If you want the old-style user interface, omit the OFN_EXPLORER flag and provide a replacement old-style template or hook procedure. If you want the old style but do not need a custom template or hook procedure, simply provide a hook procedure that always returns FALSE.

For more information, please refer to this document below.

https://msdn.microsoft.com/en-us/library/windows/desktop/ms646960(v=vs.85).aspx#_win32_Explorer_Style_Custom_Templates

Hope this could be help of you.

Best Regards,

Baron Bi


这篇关于修改文件夹浏览对话框的语言的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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