digitalmars.D.dwt - OpenFileDialog and SaveFileDialog?
- Plumm (3/3) Mar 20 2008 Hello:
- Frank Benoit (5/10) Mar 20 2008 see
- Plumm (2/7) Mar 27 2008 Thanks, but I found the string returned isn't UTF-8 based, I am not s...
- Frank Benoit (3/11) Mar 27 2008 It /should/ return utf8. So its probably a porting bug.
- Plumm (2/5) Apr 06 2008 It's windows.
Hello: I wonder if DWT offers anything likt eh OpenFileDialog and SaveFileDialog of Windows API ? Thanks ^^
Mar 20 2008
Plumm schrieb:Hello: I wonder if DWT offers anything likt eh OpenFileDialog and SaveFileDialog of Windows API ? Thanks ^^see dwt.widget.FileDialog dwt.widget.DirectoryDialog in the ControlExample you can see how they work
Mar 20 2008
Frank Benoit Wrote:Plumm schrieb: see dwt.widget.FileDialog dwt.widget.DirectoryDialog in the ControlExample you can see how they workThanks, but I found the string returned isn't UTF-8 based, I am not sure what's its encoding, but when I set it to the TextBox, then the program crashed. I think it's either local Codepage or UTF-16, but how to convert the string to UTF-8 ?
Mar 27 2008
Plumm schrieb:Frank Benoit Wrote:It /should/ return utf8. So its probably a porting bug. Which dialog do you use? Win/Linux?Plumm schrieb: see dwt.widget.FileDialog dwt.widget.DirectoryDialog in the ControlExample you can see how they workThanks, but I found the string returned isn't UTF-8 based, I am not sure what's its encoding, but when I set it to the TextBox, then the program crashed. I think it's either local Codepage or UTF-16, but how to convert the string to UTF-8 ?
Mar 27 2008
Frank Benoit Wrote:Plumm schrieb: It /should/ return utf8. So its probably a porting bug. Which dialog do you use? Win/Linux?It's windows.
Apr 06 2008