Hallo Bryan
BS> Does anybody know ways to translate the button labels (e.g. Yes,
BS> No) and the window heading caption (e.g. Warning) of a MessageDlg
BS> into languages other than English ?
BS> The same version of the program must run in either English or
BS> French in response to a command-line switch. I can just about
BS> manage the window caption, but the buttons have me beaten.
Standard dialogs are handled by Windows and their appearance depends on the
language version of Windows installed on the machine your app are running on.
From the top of my head, it's all in COMMDLG.DLL or something like it. You
have no control over it. If it bothers you, you should handle all standard
user interaction yourself which would be very tedious and not right at all.
I would expect MS to change this sheme to one in which you as a programmer
could tell the operating system what language to use for dialogs. It is a
common proplem. In the mean time, we'd best just live with it.
Groeten, Martin.
--- FMail/386 1.02
---------------
* Origin: -=[ E-mail: m_maat@knoware.nl .......... ]=- (2:286/420.1)
|