TIP: Click on subject to list as thread! ANSI
echo: delphi
to: BRYAN SMITH
from: MARTIN MAAT
date: 1997-05-24 08:39:00
subject: MessageDlg - Other Languages

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)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.