Does anyone knows how to change text on button in OpenFileDialog in Windows.Forms in C#.NET?
+1
A:
Take a look at this example on CodeProject: OpenFileDialogEx
Basically, you will need to listen for the WM_ACTIVATE message from the modal dialog and then pass the window handle to System.Windows.Forms.NativeWindow. From there, you can customize the dialog.
I'm not saying this is the only solution, but it looks like it will do the trick with the least amount of work from your end.
Matt
2009-11-20 12:55:14
Matt, that helped a lot! Thanks :).
Bart Socha
2009-11-24 08:25:15
A:
If you are insteresed in more deep customization of Open/Save dialogs, you can try our Dialog Workshop.NET components at www.componentage.com. Specifically, Open/Save dialog components allow you to customize buttons/labels texts, dock your own WinForm to the dialog window, etc.
Regards, Alexander
Alex Petrov
2009-11-20 14:29:10