diff options
author | George Hazan <george.hazan@gmail.com> | 2014-08-05 06:38:41 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-08-05 06:38:41 +0000 |
commit | 789c9a80befc2e9d0ca02ce8e431f0023adad53c (patch) | |
tree | 59edb92c1e999f879c7bffba68895bc9009c6d18 /plugins/TabSRMM/src/msgdialog.cpp | |
parent | 0cefda1f073df2d9170a2b8721ac80f1371a046f (diff) |
use AVS notifications to refresh avatars
git-svn-id: http://svn.miranda-ng.org/main/trunk@10058 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src/msgdialog.cpp')
-rw-r--r-- | plugins/TabSRMM/src/msgdialog.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
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);
}
|