summaryrefslogtreecommitdiff
path: root/plugins/RecentContacts
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@googlemail.com>2013-12-09 18:19:38 +0000
committerTobias Weimer <wishmaster51@googlemail.com>2013-12-09 18:19:38 +0000
commitccc81a93b2db98fd3858fc492ce55b13b984d3d4 (patch)
treeb42c246bb464559a62336976df9e01ed2fccacc3 /plugins/RecentContacts
parent8ffc24f829fa99cc1c089193aa4b1e67e4f69dfd (diff)
- fixed accesibility issues in some plugins (fixes #518, #519)
git-svn-id: http://svn.miranda-ng.org/main/trunk@7111 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/RecentContacts')
-rw-r--r--plugins/RecentContacts/res/resource.rc44
-rw-r--r--plugins/RecentContacts/src/resource.h4
2 files changed, 22 insertions, 26 deletions
diff --git a/plugins/RecentContacts/res/resource.rc b/plugins/RecentContacts/res/resource.rc
index a9a6110845..ce611070c2 100644
--- a/plugins/RecentContacts/res/resource.rc
+++ b/plugins/RecentContacts/res/resource.rc
@@ -13,13 +13,11 @@
#undef APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
-// Russian resources
+// Russian (Russia) resources
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_RUS)
-#ifdef _WIN32
LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT
#pragma code_page(1251)
-#endif //_WIN32
/////////////////////////////////////////////////////////////////////////////
//
@@ -27,31 +25,26 @@ LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT
//
IDD_LASTUC_DIALOG DIALOGEX 0, 0, 150, 200
-STYLE DS_SETFONT | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU |
- WS_THICKFRAME
+STYLE DS_SETFONT | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME
EXSTYLE WS_EX_TOOLWINDOW
CAPTION "Recent Contacts"
FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN
- CONTROL "",IDC_CONTACTS_LIST,"SysListView32",LVS_REPORT |
- LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_SHAREIMAGELISTS |
- LVS_ALIGNLEFT | LVS_NOCOLUMNHEADER | WS_BORDER |
- WS_TABSTOP,0,0,150,200
+ CONTROL "",IDC_CONTACTS_LIST,"SysListView32",LVS_REPORT | LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_SHAREIMAGELISTS | LVS_ALIGNLEFT | LVS_NOCOLUMNHEADER | WS_BORDER | WS_TABSTOP,0,0,150,200
END
-IDD_LASTUC_OPT DIALOGEX 0, 0, 314, 240
+IDD_LASTUC_OPT DIALOGEX 0, 0, 314, 106
STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD
+EXSTYLE WS_EX_CONTROLPARENT
FONT 8, "MS Shell Dlg", 0, 0, 0x0
BEGIN
- GROUPBOX "Plugin settings",IDC_STATIC,7,7,300,226
+ GROUPBOX "Plugin settings",IDC_STATIC,7,7,300,88
EDITTEXT IDC_SHOWNCONTACTS,161,27,28,12,ES_AUTOHSCROLL
- CONTROL "Number shown contacts:\n (0 to show all)",IDC_STATIC,
- "Static",SS_LEFTNOWORDWRAP | WS_GROUP,24,27,121,17
- LTEXT "Format of date and time\n(Look to readme for placeholders help)",
- IDC_STATIC,24,50,133,22
- EDITTEXT IDC_DATETIME,161,50,96,12,ES_AUTOHSCROLL
- CONTROL "Hide offline contacts",IDC_HIDEOFFLINE,"Button",
- BS_AUTOCHECKBOX | WS_TABSTOP,161,75,84,8
+ CONTROL "Number of shown contacts:\n (0 to show all)",IDC_STATIC,
+ "Static",SS_LEFTNOWORDWRAP | WS_GROUP,15,27,141,17
+ LTEXT "Format of date and time\n(Look to readme for placeholders help)",IDC_STATIC,15,50,141,22
+ EDITTEXT IDC_DATETIME,161,50,137,12,ES_AUTOHSCROLL
+ CONTROL "Hide offline contacts",IDC_HIDEOFFLINE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,161,75,137,8
END
@@ -61,18 +54,18 @@ END
// TEXTINCLUDE
//
-1 TEXTINCLUDE
+1 TEXTINCLUDE
BEGIN
"..\\src\\resource.h\0"
END
-2 TEXTINCLUDE
+2 TEXTINCLUDE
BEGIN
"#include ""afxres.h""\r\n"
"\0"
END
-3 TEXTINCLUDE
+3 TEXTINCLUDE
BEGIN
"\r\n"
"\0"
@@ -102,15 +95,17 @@ BEGIN
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 307
- VERTGUIDE, 24
+ VERTGUIDE, 15
+ VERTGUIDE, 156
VERTGUIDE, 161
+ VERTGUIDE, 298
TOPMARGIN, 7
- BOTTOMMARGIN, 233
+ BOTTOMMARGIN, 99
END
END
#endif // APSTUDIO_INVOKED
-#endif // Russian resources
+#endif // Russian (Russia) resources
/////////////////////////////////////////////////////////////////////////////
@@ -124,3 +119,4 @@ END
/////////////////////////////////////////////////////////////////////////////
#endif // not APSTUDIO_INVOKED
+
diff --git a/plugins/RecentContacts/src/resource.h b/plugins/RecentContacts/src/resource.h
index 59e47a934a..c5252215eb 100644
--- a/plugins/RecentContacts/src/resource.h
+++ b/plugins/RecentContacts/src/resource.h
@@ -1,6 +1,6 @@
//{{NO_DEPENDENCIES}}
// Microsoft Visual C++ generated include file.
-// Used by resource.rc
+// Used by ..\res\resource.rc
//
#define IDD_LASTUC_OPT 9
#define IDI_FOLDER 101
@@ -14,7 +14,7 @@
#define IDC_DATETIME 1005
// Next default values for new objects
-//
+//
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE 106