summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src
diff options
context:
space:
mode:
authorSergey Tatarinov <tatarinov.sergey@gmail.com>2013-05-22 15:43:24 +0000
committerSergey Tatarinov <tatarinov.sergey@gmail.com>2013-05-22 15:43:24 +0000
commitd713f88ef3c639eba7211fdd59ec8f34b1ba6fa9 (patch)
treed3f187f98dd4b518a0ac56a1925e49c7df242ce1 /plugins/TabSRMM/src
parent9d34e1ee7a77bdeb0fa50bdbc1dfd19527ea5ea3 (diff)
Fixed tooltips in the options dialogs
git-svn-id: http://svn.miranda-ng.org/main/trunk@4803 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src')
-rw-r--r--plugins/TabSRMM/src/chat/options.cpp3
1 files changed, 2 insertions, 1 deletions
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;
}