Вниз
Скачать: CL | DM;

Русификация MessageDlg   Найти похожие ветки 

← →
Алексей   (2004-02-02 07:20) [0]

Как русифицировать в MessageDlg надписи на кнопках (Yes - Да, No - Нет, Cancel - Отмена и т.д.)


← →
RDen   (2004-02-02 07:27) [1]

MessageBox может использовать?


← →
Gero ©   (2004-02-02 07:49) [2]

MessageBox будет русским только под рус. виндой. Если нужно, чтобы был русским всегда, можно создать свой MessageDlg. ИМХО, это оптимальный вариант


← →
RDen   (2004-02-02 08:02) [3]

взгляни здесь http://www.sql.ru/forum/actualthread.aspx?bid=20&tid=41336&hl=


← →
Goida ©   (2004-02-02 09:47) [4]

Самый, по моему, оптимальный вариант - это создание своего диалогового окна динамически:
...где-то в тексте программы...
with CreateMessageDialog("This is a message.",mtInformation,[mbYes,mbNo,mbCancel]) do
try
Caption := "InforBox";
(FindComponent("Yes") as TButton).Caption := "Да";
(FindComponent("No") as TButton).Caption := "Нет";
(FindComponent("Cancel") as TButton).Caption := "Отмена";
ShowModal;
finally
Free
end;

Вот и все.


← →
WondeRu ©   (2004-02-02 12:01) [5]

Читай MSDN
MessageBoxEx
The MessageBoxEx function creates, displays, and operates a message box. The message box contains an application-defined message and title, plus any combination of predefined icons and push buttons. The wLanguageId parameter specifies which set of language resources is used for the predefined push buttons.

int MessageBoxEx(
HWND hWnd, // handle to owner window
LPCTSTR lpText, // text in message box
LPCTSTR lpCaption, // message box title
UINT uType, // message box style
WORD wLanguageId // language identifier
);


← →
Семен Сорокин ©   (2004-02-02 12:28) [6]

и еще как вариант: скопируй себе в проект файл consts.pas и замени там строковые константы на нужные тебе.
Переоткрой проект, сделай билд - дерзай!



Страницы: 1 вся ветка

Скачать: CL | DM;



Память: 0.46 MB
Время: 0.018 c
8-38964
fiction
2003-10-12 16:58
2004.02.13
Direct sound


1-38790
AndrewK
2004-02-03 12:59
2004.02.13
Просмотр в WebBrowser е html-строки


1-38838
Awod
2004-02-02 13:18
2004.02.13
Проблема при создании компонента.


14-39030
vopros
2004-01-26 12:44
2004.02.13
Есть плазменный телевизор есть компьютер


14-39067
Думкин
2004-01-24 05:07
2004.02.13
С днем рождения! 24 января.




   Наверх