Re: Message dlg
[ Related Articles and Replies ] [ DelphiLand FAQ ] [ Delphi Tutorials ]
Posted by WAllison on February 07, 2002 at
17:12:52:
In Reply to: Message dlg posted by Gušni on February 05, 2002
at 17:55:09:
: I need to translate the message in message dlg Yes,no,cancel and Ok to Icelandic??? int MessageBoxEx( HWND hWnd, // handle of owner window LPCTSTR lpText, // address of text in message box LPCTSTR lpCaption, // address of title of message box UINT uType, // style of message box WORD wLanguageId // language identifier ); look at the last variable - it defines the language to display.
lpCaption, lptext - should be - array [0..255] of char; copy the english text with StrPCop(Buffer,'Text'); when calling: MessageBoxEx(Handle, @lpText, @lpCaption, MB_YESNOCANCEL, LangID); The LangID for Icelandic is either 0x0f or 0x040f - The identifier LANG_ICELANDIC may also work. Good Luck
Related Articles and Replies:
[ Related Articles and Replies ] [ DelphiLand FAQ ] [ Delphi Tutorials ]
|