From 522586d7b8f7274fad2fe58c2615fc0d06618fcd Mon Sep 17 00:00:00 2001 From: Rozhuk Ivan Date: Thu, 6 Mar 2014 01:16:01 +0000 Subject: MRA * Fix: SMS sending SMS * Fix: windows sizes then aero enabled * Fix: ICQEVENTTYPE_SMSCONFIRMATION db event write NewEventNotify + Add: support event types: ICQEVENTTYPE_SMS and ICQEVENTTYPE_SMSCONFIRMATION git-svn-id: http://svn.miranda-ng.org/main/trunk@8423 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/SMS/src/senddlg.cpp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'plugins/SMS/src/senddlg.cpp') diff --git a/plugins/SMS/src/senddlg.cpp b/plugins/SMS/src/senddlg.cpp index b5a6285382..3f2d7f3543 100644 --- a/plugins/SMS/src/senddlg.cpp +++ b/plugins/SMS/src/senddlg.cpp @@ -181,12 +181,14 @@ INT_PTR CALLBACK SendSmsDlgProc(HWND hWndDlg,UINT message,WPARAM wParam,LPARAM l GetWindowRect(hWndDlg,&rcWin); if (psswdWindowData->bMultiple) { - cx=rcWin.right-rcWin.left-181; - cy=rcWin.bottom-rcWin.top; + cx = rcWin.right-rcWin.left-181; + cy = rcWin.bottom-rcWin.top; }else{ - cx=rcWin.right-rcWin.left; - cy=rcWin.bottom-rcWin.top; + cx = rcWin.right-rcWin.left; + cy = rcWin.bottom-rcWin.top; } + cx -= 10; /* XXX: fix window sizes for aero. */ + cy -= 10; SetWindowPos(GetDlgItem(hWndDlg,IDC_MESSAGE),0,0,0,cx - 14,cy - 132,SWP_NOZORDER|SWP_NOMOVE); SetWindowPos(GetDlgItem(hWndDlg,IDC_NAME),0,0,0,(cx*35)/100,20,SWP_NOZORDER|SWP_NOMOVE); SetWindowPos(GetDlgItem(hWndDlg,IDC_ACCOUNTS),0,0,0,(cx*35)/100,20,SWP_NOZORDER|SWP_NOMOVE); -- cgit v1.2.3