From 95b377d1410567985843168f6676f64d11666cd3 Mon Sep 17 00:00:00 2001 From: Vadim Dashevskiy Date: Tue, 19 Mar 2013 21:22:38 +0000 Subject: - temporary revert of TabSRMM git-svn-id: http://svn.miranda-ng.org/main/trunk@4119 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/TabSRMM/src/userprefs.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'plugins/TabSRMM/src/userprefs.cpp') diff --git a/plugins/TabSRMM/src/userprefs.cpp b/plugins/TabSRMM/src/userprefs.cpp index 6f465f4d91..7a99d15480 100644 --- a/plugins/TabSRMM/src/userprefs.cpp +++ b/plugins/TabSRMM/src/userprefs.cpp @@ -490,7 +490,7 @@ INT_PTR CALLBACK DlgProcUserPrefsFrame(HWND hwndDlg, UINT msg, WPARAM wParam, LP tci.mask = TCIF_PARAM | TCIF_TEXT; tci.lParam = (LPARAM)CreateDialogParam(g_hInst, MAKEINTRESOURCE(IDD_USERPREFS), hwndDlg, DlgProcUserPrefs, (LPARAM)hContact); tci.pszText = TranslateT("General"); - TabCtrl_InsertItem( GetDlgItem(hwndDlg, IDC_OPTIONSTAB), 0, &tci); + TabCtrl_InsertItem(GetDlgItem(hwndDlg, IDC_OPTIONSTAB), 0, &tci); MoveWindow((HWND)tci.lParam, 6, DPISCALEY_S(32), rcClient.right - 12, rcClient.bottom - DPISCALEY_S(80), 1); ShowWindow((HWND)tci.lParam, SW_SHOW); if (CMimAPI::m_pfnEnableThemeDialogTexture) @@ -499,12 +499,12 @@ INT_PTR CALLBACK DlgProcUserPrefsFrame(HWND hwndDlg, UINT msg, WPARAM wParam, LP tci.lParam = (LPARAM)CreateDialogParam(g_hInst, MAKEINTRESOURCE(IDD_USERPREFS1), hwndDlg, DlgProcUserPrefsLogOptions, (LPARAM)hContact); tci.pszText = TranslateT("Message Log"); - TabCtrl_InsertItem( GetDlgItem(hwndDlg, IDC_OPTIONSTAB), 1, &tci); + TabCtrl_InsertItem(GetDlgItem(hwndDlg, IDC_OPTIONSTAB), 1, &tci); MoveWindow((HWND)tci.lParam, 6, DPISCALEY_S(32), rcClient.right - 12, rcClient.bottom - DPISCALEY_S(80), 1); ShowWindow((HWND)tci.lParam, SW_HIDE); if (CMimAPI::m_pfnEnableThemeDialogTexture) CMimAPI::m_pfnEnableThemeDialogTexture((HWND)tci.lParam, ETDT_ENABLETAB); - TabCtrl_SetCurSel( GetDlgItem(hwndDlg, IDC_OPTIONSTAB), 0); + TabCtrl_SetCurSel(GetDlgItem(hwndDlg, IDC_OPTIONSTAB), 0); ShowWindow(hwndDlg, SW_SHOW); return TRUE; } @@ -516,7 +516,7 @@ INT_PTR CALLBACK DlgProcUserPrefsFrame(HWND hwndDlg, UINT msg, WPARAM wParam, LP TCITEM tci; tci.mask = TCIF_PARAM; - TabCtrl_GetItem( GetDlgItem(hwndDlg, IDC_OPTIONSTAB), TabCtrl_GetCurSel( GetDlgItem(hwndDlg, IDC_OPTIONSTAB)), &tci); + TabCtrl_GetItem(GetDlgItem(hwndDlg, IDC_OPTIONSTAB), TabCtrl_GetCurSel(GetDlgItem(hwndDlg, IDC_OPTIONSTAB)), &tci); ShowWindow((HWND)tci.lParam, SW_HIDE); } break; @@ -524,7 +524,7 @@ INT_PTR CALLBACK DlgProcUserPrefsFrame(HWND hwndDlg, UINT msg, WPARAM wParam, LP TCITEM tci; tci.mask = TCIF_PARAM; - TabCtrl_GetItem( GetDlgItem(hwndDlg, IDC_OPTIONSTAB), TabCtrl_GetCurSel( GetDlgItem(hwndDlg, IDC_OPTIONSTAB)), &tci); + TabCtrl_GetItem(GetDlgItem(hwndDlg, IDC_OPTIONSTAB), TabCtrl_GetCurSel(GetDlgItem(hwndDlg, IDC_OPTIONSTAB)), &tci); ShowWindow((HWND)tci.lParam, SW_SHOW); } break; @@ -542,9 +542,9 @@ INT_PTR CALLBACK DlgProcUserPrefsFrame(HWND hwndDlg, UINT msg, WPARAM wParam, LP tci.mask = TCIF_PARAM; - count = TabCtrl_GetItemCount( GetDlgItem(hwndDlg, IDC_OPTIONSTAB)); + count = TabCtrl_GetItemCount(GetDlgItem(hwndDlg, IDC_OPTIONSTAB)); for (i=0;i < count;i++) { - TabCtrl_GetItem( GetDlgItem(hwndDlg, IDC_OPTIONSTAB), i, &tci); + TabCtrl_GetItem(GetDlgItem(hwndDlg, IDC_OPTIONSTAB), i, &tci); SendMessage((HWND)tci.lParam, WM_COMMAND, WM_USER + 100, (LPARAM)&dwActionToTake); } if (hwnd) { -- cgit v1.2.3