简体   繁体   中英

change the name of control idOK of SaveFileDialog

将SaveFileDialog的控件idOK的名称从“保存”按钮更改为“确定”

It looks like this CodeProject article has what you need:

http://www.codeproject.com/KB/dialog/CustomizeFileDialog.aspx

(Hooray for google)

You'll need to listen for some messages (like WM_ACTIVATE etc) from the dialog to get the window handle that you can use to customize it. Here's a Codeproject article that describes this in more detail and has sample code: Customizing OpenFileDialog in .NET

By the way, just so you're aware, this might be more complex than what you were anticipating for just changing a text slightly.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM