diff options
author | Robert Pösel <robyer@seznam.cz> | 2013-08-01 12:55:26 +0000 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2013-08-01 12:55:26 +0000 |
commit | 8615f3c9e18f0303269d11519eb145313b501943 (patch) | |
tree | a94a3d51008b493da05b14d596cd80fa1a56d2c2 /protocols/FacebookRM/src | |
parent | e01bfe30d2bde2ad9f6fbf8a0295c9916ee1cd55 (diff) |
Facebook: Post status dialog accessibility fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@5544 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM/src')
-rw-r--r-- | protocols/FacebookRM/src/dialogs.cpp | 4 | ||||
-rw-r--r-- | protocols/FacebookRM/src/resource.h | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/protocols/FacebookRM/src/dialogs.cpp b/protocols/FacebookRM/src/dialogs.cpp index f6ec4209b4..57d7f8f78a 100644 --- a/protocols/FacebookRM/src/dialogs.cpp +++ b/protocols/FacebookRM/src/dialogs.cpp @@ -172,7 +172,9 @@ void ResizeHorizontal(HWND hwnd, bool wide) { MapDialogRect(hwnd, &r);
r.bottom += GetSystemMetrics(SM_CYSMCAPTION);
SetWindowPos(hwnd, 0, 0, 0, r.right, r.bottom, SWP_NOMOVE | SWP_NOZORDER);
- SetDlgItemText(hwnd, IDC_EXPAND, (wide ? _T("<<") : _T(">>")));
+ SetDlgItemText(hwnd, IDC_EXPAND, (wide ? _T("<< Contacts") : _T("Contacts >>")));
+ ShowWindow(GetDlgItem(hwnd, IDC_CCLIST), wide);
+ ShowWindow(GetDlgItem(hwnd, IDC_CCLIST_LABEL), wide);
}
static bool bShowContacts;
diff --git a/protocols/FacebookRM/src/resource.h b/protocols/FacebookRM/src/resource.h index 4fcbcffdda..c505455ec7 100644 --- a/protocols/FacebookRM/src/resource.h +++ b/protocols/FacebookRM/src/resource.h @@ -2,7 +2,6 @@ // Microsoft Visual C++ generated include file.
// Used by D:\Development\Miranda NG\protocols\FacebookRM\res\facebook.rc
//
-#define IDCANCEL2 3
#define IDC_EXPAND 3
#define IDI_FACEBOOK 101
#define IDI_MIND 102
@@ -45,6 +44,7 @@ #define IDC_WALL 1205
#define IDC_URL 1206
#define IDC_CCLIST 1207
+#define IDC_CCLIST_LABEL 1208
// Next default values for new objects
//
@@ -52,7 +52,7 @@ #ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE 131
#define _APS_NEXT_COMMAND_VALUE 40001
-#define _APS_NEXT_CONTROL_VALUE 1208
+#define _APS_NEXT_CONTROL_VALUE 1209
#define _APS_NEXT_SYMED_VALUE 131
#endif
#endif
|