自定义saveFileDialog [英] Custom saveFileDialog

查看:150
本文介绍了自定义saveFileDialog的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,我尝试在saveFileDialog中更改一些文本.就像保存在",文件名"一样.
使用HOOK,SetDlgItemText和SetWindowText的方式.

我已经成功更改了openFileDialog中的所有文本.但是我不知道为什么不能更改saveFileDialog的文本,我认为项目的ID应该与openFileDialog相同.

现在,我只能更改取消"按钮的文本和文件名".

有人知道吗? Thx

解决方案

如果您发布一些您尝试过的代码,将会很有帮助.同时,请阅读本文 [ Use the way HOOK, SetDlgItemText and SetWindowText.

I have change all the text in the openFileDialog succesful use that way. But I don''t know why I can''t change the text of saveFileDialog, I think the id of item should be the same as openFileDialog.

For now, I can only change the text of "Cancel" Button and the "File name".

Anybody have some idea? Thx

解决方案

It would be helpful if you would post some of the code that you have tried. In the meantime take a look at this article[^] on how things were done to customize the OpenFile dialog, it may give you some ideas.


OK, I found the problem. It seems that the some components in the SaveFileDialog not reflash. But I don''t find the solution. Also need your help.
PS: the refalsh() doesn''t work.


这篇关于自定义saveFileDialog的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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