From d713f88ef3c639eba7211fdd59ec8f34b1ba6fa9 Mon Sep 17 00:00:00 2001 From: Sergey Tatarinov Date: Wed, 22 May 2013 15:43:24 +0000 Subject: Fixed tooltips in the options dialogs git-svn-id: http://svn.miranda-ng.org/main/trunk@4803 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/TabSRMM/src/chat/options.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'plugins/TabSRMM/src/chat') diff --git a/plugins/TabSRMM/src/chat/options.cpp b/plugins/TabSRMM/src/chat/options.cpp index 5ee517ae48..2004b5e9a4 100644 --- a/plugins/TabSRMM/src/chat/options.cpp +++ b/plugins/TabSRMM/src/chat/options.cpp @@ -485,10 +485,11 @@ HWND CreateToolTip(HWND hwndParent, LPTSTR ptszText, LPTSTR ptszTitle) ti.hinst = g_hInst; ti.lpszText = ptszText; GetClientRect (hwndParent, &ti.rect); - ti.rect.left =- 85; + ti.rect.left = -65; SendMessage(hwndTT, TTM_ADDTOOL, 0, (LPARAM)(LPTOOLINFO) &ti); SendMessage(hwndTT, TTM_SETTITLE, 1, (LPARAM)ptszTitle); + SendMessage(hwndTT, TTM_SETMAXTIPWIDTH, 0, (LPARAM)640); return hwndTT; } -- cgit v1.2.3