开发者

change the name of control idOK of SaveFileDialog

开发者 https://www.devze.com 2023-01-05 16:39 出处:网络
change the name of control idOK of SaveFileDialog from button \"save\"开发者_JAVA百科 to \"ok\"It looks like this CodeProject article has what you need:

change the name of control idOK of SaveFileDialog from button "save"开发者_JAVA百科 to "ok"


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消