From 789c9a80befc2e9d0ca02ce8e431f0023adad53c Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 5 Aug 2014 06:38:41 +0000 Subject: use AVS notifications to refresh avatars git-svn-id: http://svn.miranda-ng.org/main/trunk@10058 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/TabSRMM/src/msgdialog.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'plugins/TabSRMM/src/msgdialog.cpp') diff --git a/plugins/TabSRMM/src/msgdialog.cpp b/plugins/TabSRMM/src/msgdialog.cpp index f3d22f183a..691c89e7e3 100644 --- a/plugins/TabSRMM/src/msgdialog.cpp +++ b/plugins/TabSRMM/src/msgdialog.cpp @@ -827,8 +827,13 @@ static LRESULT CALLBACK AvatarSubclassProc(HWND hwnd, UINT msg, WPARAM wParam, L switch (msg) { case WM_ERASEBKGND: return TRUE; + case WM_UPDATEUISTATE: return TRUE; + + case WM_NOTIFY: + ProcessAvatarChange(hwnd, lParam); + break; } return mir_callNextSubclass(hwnd, AvatarSubclassProc, msg, wParam, lParam); } -- cgit v1.2.3