From eb533fa01e57999b91cde97c676cd4afc237c8f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20P=C3=B6sel?= Date: Fri, 14 Jun 2013 12:42:40 +0000 Subject: Improved and iconized some MessageBoxes. git-svn-id: http://svn.miranda-ng.org/main/trunk@4931 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/modules/clist/clistmod.cpp | 2 +- src/modules/clist/clui.cpp | 2 +- src/modules/clist/groups.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/modules/clist') diff --git a/src/modules/clist/clistmod.cpp b/src/modules/clist/clistmod.cpp index a7cae8ed75..6108a31fe2 100644 --- a/src/modules/clist/clistmod.cpp +++ b/src/modules/clist/clistmod.cpp @@ -217,7 +217,7 @@ static void RemoveProtoIconIndex(PROTOACCOUNT* pa) static int ContactListModulesLoaded(WPARAM, LPARAM) { if ( !ServiceExists(MS_DB_CONTACT_GETSETTING_STR)) { - MessageBox(NULL, TranslateT("This plugin requires db3x plugin version 0.5.1.0 or later"), _T("CList"), MB_OK); + MessageBox(NULL, TranslateT("This plugin requires db3x plugin version 0.5.1.0 or later"), _T("CList"), MB_ICONERROR | MB_OK); return 1; } diff --git a/src/modules/clist/clui.cpp b/src/modules/clist/clui.cpp index 7b6e5f7db0..30722e00ff 100644 --- a/src/modules/clist/clui.cpp +++ b/src/modules/clist/clui.cpp @@ -201,7 +201,7 @@ static INT_PTR MenuItem_DeleteContact(WPARAM wParam, LPARAM lParam) db_set_b((HANDLE)wParam, "CList", "Delete", 1); MessageBox(NULL, TranslateT("This contact is on an instant messaging system which stores its contact list on a central server. The contact will be removed from the server and from your contact list when you next connect to that network."), - TranslateT("Delete Contact"), MB_OK); + TranslateT("Delete Contact"), MB_ICONINFORMATION | MB_OK); return 0; } } diff --git a/src/modules/clist/groups.cpp b/src/modules/clist/groups.cpp index c2ac366c54..e4d40f7113 100644 --- a/src/modules/clist/groups.cpp +++ b/src/modules/clist/groups.cpp @@ -255,7 +255,7 @@ static int RenameGroupWithMove(int groupId, const TCHAR *szName, int move) DBVARIANT dbv; if (GroupNameExists(szName, groupId)) { - MessageBox(NULL, TranslateT("You already have a group with that name. Please enter a unique name for the group."), TranslateT("Rename Group"), MB_OK); + MessageBox(NULL, TranslateT("You already have a group with that name. Please enter a unique name for the group."), TranslateT("Rename Group"), MB_ICONERROR | MB_OK); return 1; } -- cgit v1.2.3