From 8615f3c9e18f0303269d11519eb145313b501943 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20P=C3=B6sel?= Date: Thu, 1 Aug 2013 12:55:26 +0000 Subject: Facebook: Post status dialog accessibility fixes git-svn-id: http://svn.miranda-ng.org/main/trunk@5544 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/FacebookRM/src/dialogs.cpp | 4 +++- protocols/FacebookRM/src/resource.h | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'protocols/FacebookRM/src') 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 -- cgit v1.2.3