From 661d17a381b1c6807deace4abc83496c267dda99 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 16 Jan 2013 19:56:29 +0000 Subject: git-svn-id: http://svn.miranda-ng.org/main/trunk@3122 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/SeenPlugin/res/resource.rc | 9 ++++----- plugins/SeenPlugin/src/history.cpp | 6 +++--- 2 files changed, 7 insertions(+), 8 deletions(-) (limited to 'plugins/SeenPlugin') diff --git a/plugins/SeenPlugin/res/resource.rc b/plugins/SeenPlugin/res/resource.rc index a7477f6c0e..9bcb40df6b 100644 --- a/plugins/SeenPlugin/res/resource.rc +++ b/plugins/SeenPlugin/res/resource.rc @@ -164,13 +164,12 @@ EXSTYLE WS_EX_CONTROLPARENT FONT 8, "MS Shell Dlg", 0, 0, 0x1 BEGIN DEFPUSHBUTTON "OK",IDOK,75,101,50,14 - PUSHBUTTON "MButtonClass",IDC_USERMENU,146,5,15,13,BS_ICON | WS_TABSTOP - PUSHBUTTON "MButtonClass",IDC_DETAILS,163,5,15,13,BS_ICON | WS_TABSTOP - PUSHBUTTON "MButtonClass",IDC_SENDMSG,180,5,15,13,BS_ICON | WS_TABSTOP - LISTBOX IDC_HISTORYLIST,5,20,190,59,LBS_NOINTEGRALHEIGHT | - WS_VSCROLL | WS_TABSTOP + LISTBOX IDC_HISTORYLIST,5,20,190,59,LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_TABSTOP CONTROL "Alert when user status changes",IDC_STATUSCHANGE,"Button", BS_AUTOCHECKBOX | WS_TABSTOP,5,86,190,8 + CONTROL "",IDC_USERMENU,"MButtonClass",BS_ICON | WS_TABSTOP,140,2,16,16 + CONTROL "",IDC_DETAILS, "MButtonClass",BS_ICON | WS_TABSTOP,160,2,16,16 + CONTROL "",IDC_SENDMSG, "MButtonClass",BS_ICON | WS_TABSTOP,180,2,16,16 END diff --git a/plugins/SeenPlugin/src/history.cpp b/plugins/SeenPlugin/src/history.cpp index 4b45473620..27f89e223e 100644 --- a/plugins/SeenPlugin/src/history.cpp +++ b/plugins/SeenPlugin/src/history.cpp @@ -184,9 +184,9 @@ INT_PTR CALLBACK HistoryDlgProc(HWND hwndDlg, UINT Message, WPARAM wparam, LPARA SendDlgItemMessage(hwndDlg, IDC_SENDMSG, BM_SETIMAGE, IMAGE_ICON, (WPARAM)LoadSkinnedIcon(SKINICON_EVENT_MESSAGE)); //set-up tooltips - SendDlgItemMessage(hwndDlg, IDC_DETAILS, BUTTONADDTOOLTIP, (WPARAM)LPGEN("User Menu"), 0); - SendDlgItemMessage(hwndDlg, IDC_USERMENU, BUTTONADDTOOLTIP, (WPARAM)LPGEN("View User's Details"), 0); - SendDlgItemMessage(hwndDlg, IDC_SENDMSG, BUTTONADDTOOLTIP, (WPARAM)LPGEN("Send Instant Message"), 0); + SendDlgItemMessage(hwndDlg, IDC_DETAILS, BUTTONADDTOOLTIP, (WPARAM)TranslateT("View User's Details"), BATF_TCHAR); + SendDlgItemMessage(hwndDlg, IDC_USERMENU, BUTTONADDTOOLTIP, (WPARAM)TranslateT("User Menu"), BATF_TCHAR); + SendDlgItemMessage(hwndDlg, IDC_SENDMSG, BUTTONADDTOOLTIP, (WPARAM)TranslateT("Send Instant Message"), BATF_TCHAR); Utils_RestoreWindowPositionNoMove(hwndDlg,NULL,S_MOD,"History_"); ShowWindow(hwndDlg, SW_SHOW); -- cgit v1.2.3