summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/generic_msghandlers.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-03-17 12:24:10 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-03-17 12:24:10 +0000
commit2949a73e42cce15b5a4757a793e509c169180276 (patch)
tree5cc341ccd298413d710fecfd852a7d022498a51e /plugins/TabSRMM/src/generic_msghandlers.cpp
parent2e7b7142eb20da9ec1e6a6c6dbf7ddd02510f27d (diff)
fix for some quirks in tabs
git-svn-id: http://svn.miranda-ng.org/main/trunk@8648 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src/generic_msghandlers.cpp')
-rw-r--r--plugins/TabSRMM/src/generic_msghandlers.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/TabSRMM/src/generic_msghandlers.cpp b/plugins/TabSRMM/src/generic_msghandlers.cpp
index e821f544ff..776cc20cec 100644
--- a/plugins/TabSRMM/src/generic_msghandlers.cpp
+++ b/plugins/TabSRMM/src/generic_msghandlers.cpp
@@ -142,7 +142,8 @@ void TSAPI DM_InitTip(TWindowData *dat)
dat->ti.hwnd = dat->hwnd;
dat->ti.uFlags = TTF_TRACK | TTF_IDISHWND | TTF_TRANSPARENT;
dat->ti.uId = (UINT_PTR)dat->hwnd;
- SendMessageA(dat->hwndTip, TTM_ADDTOOLA, 0, (LPARAM)&dat->ti);
+ SendMessage(dat->hwndTip, TTM_ADDTOOL, 0, (LPARAM)&dat->ti);
+
SetWindowPos(dat->hwndTip, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE | SWP_NOACTIVATE | SWP_NOZORDER);
}