Thread overview | |||||||
---|---|---|---|---|---|---|---|
|
March 20, 2008 OpenFileDialog and SaveFileDialog? | ||||
---|---|---|---|---|
| ||||
Hello: I wonder if DWT offers anything likt eh OpenFileDialog and SaveFileDialog of Windows API ? Thanks ^^ |
March 20, 2008 Re: OpenFileDialog and SaveFileDialog? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Plumm | 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
|
March 28, 2008 Re: OpenFileDialog and SaveFileDialog? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Frank Benoit | Frank Benoit Wrote:
> Plumm schrieb:
> see
> dwt.widget.FileDialog
> dwt.widget.DirectoryDialog
> in the ControlExample you can see how they work
Thanks, 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 ?
|
March 28, 2008 Re: OpenFileDialog and SaveFileDialog? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Plumm | Plumm schrieb:
> Frank Benoit Wrote:
>> Plumm schrieb:
>> see
>> dwt.widget.FileDialog
>> dwt.widget.DirectoryDialog
>> in the ControlExample you can see how they work
> Thanks, 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 ?
>
It /should/ return utf8. So its probably a porting bug.
Which dialog do you use? Win/Linux?
|
April 07, 2008 Re: OpenFileDialog and SaveFileDialog? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Frank Benoit | 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.
|
Copyright © 1999-2021 by the D Language Foundation