summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/utils.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-07-10 18:37:52 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-07-10 18:37:52 +0000
commitef05f20f8191c1c3d93df3356969ce016119487e (patch)
tree44e204e1f947bf80d5ae20af1fae82c18da0be03 /plugins/TabSRMM/src/utils.cpp
parent2b481b820ddd7a7edecda35a214029add7996371 (diff)
- we don't broadcast added events anymore;
- fix for User Typing notifications; - code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@9759 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src/utils.cpp')
-rw-r--r--plugins/TabSRMM/src/utils.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/plugins/TabSRMM/src/utils.cpp b/plugins/TabSRMM/src/utils.cpp
index 2103def2b8..d985a5f1be 100644
--- a/plugins/TabSRMM/src/utils.cpp
+++ b/plugins/TabSRMM/src/utils.cpp
@@ -831,6 +831,13 @@ AVATARCACHEENTRY* Utils::loadAvatarFromAVS(const MCONTACT hContact)
return (AVATARCACHEENTRY*)CallService(MS_AV_GETAVATARBITMAP, hContact, 0);
}
+void Utils::sendContactMessage(MCONTACT hContact, UINT uMsg, WPARAM wParam, LPARAM lParam)
+{
+ HWND h = M.FindWindow(hContact);
+ if (h != NULL)
+ PostMessage(h, uMsg, wParam, lParam);
+}
+
void Utils::getIconSize(HICON hIcon, int& sizeX, int& sizeY)
{
ICONINFO ii;