Sure the OS localises the buttons of the MessageBox but what if the
user interface language of my app isn't the same as the OS' language?
For ex. a Spanish GUI on an English OS. Wouldn't it be nice to have
the buttons in Spanish rather than in english?
So the question remains.
(by the way, in VB6 we wrote our own MsgBox to deal we the problem - would
be a pity having to do that again in .NET)
Sure the OS localises the buttons of the MessageBox but what if the
user interface language of my app isn't the same as the OS' language?
For ex. a Spanish GUI on an English OS. Wouldn't it be nice to have
the buttons in Spanish rather than in english?
Since message boxes are everywhere, the user is probably used to
seeing them in english. If that was a probelm for the user, they would
probably not run an english OS.
So the question remains.
(by the way, in VB6 we wrote our own MsgBox to deal we the problem - would
be a pity having to do that again in .NET)
The MessageBoxIndirect Win32 API lets you choose the language for the
button, provided that the language resources are installed on the
system (I believe that requires installing the MUI version). See
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.