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/res/facebook.rc | 6 +++--- protocols/FacebookRM/src/dialogs.cpp | 4 +++- protocols/FacebookRM/src/resource.h | 4 ++-- 3 files changed, 8 insertions(+), 6 deletions(-) (limited to 'protocols') diff --git a/protocols/FacebookRM/res/facebook.rc b/protocols/FacebookRM/res/facebook.rc index f78670aec5..f920058aea 100644 --- a/protocols/FacebookRM/res/facebook.rc +++ b/protocols/FacebookRM/res/facebook.rc @@ -92,11 +92,11 @@ BEGIN EDITTEXT IDC_URL,53,60,210,14,ES_AUTOHSCROLL LTEXT "Place:",IDC_STATIC,4,80,44,8,0,WS_EX_RIGHT EDITTEXT IDC_PLACE,53,77,210,14,ES_AUTOHSCROLL - CONTROL "",IDC_CCLIST,"CListControl",WS_TABSTOP | 0x16f,267,21,147,88,WS_EX_CLIENTEDGE + CONTROL "",IDC_CCLIST,"CListControl",WS_TABSTOP | 0x16f,268,17,143,90 DEFPUSHBUTTON "Share",IDOK,53,94,54,15 PUSHBUTTON "Cancel",IDCANCEL,110,94,44,15 - PUSHBUTTON ">>",IDC_EXPAND,239,94,24,15 - LTEXT "Attach contacts:",IDC_STATIC,271,6,143,8 + PUSHBUTTON "Contacts >>",IDC_EXPAND,202,94,61,15 + GROUPBOX "Attach contacts:",IDC_CCLIST_LABEL,266,4,148,105 END IDD_OPTIONS DIALOGEX 0, 0, 305, 210 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