Is there an easy way to create a C # .NET dialog box with an encoding dialog?

I am trying to let the user choose the encoding of a file when uploading or saving a file in C # and VS2008. In the Notepads dialog box, there is a Copy option at the bottom.

There is a way to do this as described here: http://www.codeproject.com/KB/cs/getsavefilename.aspx .

However, I'm wondering if there is an easier way to do this. Windows should have this dialog built in, right?

+2


source to share


1 answer


The dialog box provided is the standard Open File dialog box provided by the Win32 API. This dialog allows customization using hooks as described in the code project article you linked.



The process outlined in the article is the only way to do this, and what Notepad and Visual Studio do if they actually use the Win32 open file dialog rather than one of their own solutions.

+1


source







All Articles