From d73e2c675deac8d5fbf67767ac4bb26fe9d054db Mon Sep 17 00:00:00 2001 From: sje Date: Fri, 20 Jul 2007 05:40:29 +0000 Subject: put hcontact into popup class data git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@292 4f64403b-2f21-0410-a795-97e2b3489a10 --- message_notify/popups.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'message_notify/popups.cpp') diff --git a/message_notify/popups.cpp b/message_notify/popups.cpp index 24c983b..a82cd0d 100644 --- a/message_notify/popups.cpp +++ b/message_notify/popups.cpp @@ -139,6 +139,7 @@ void ShowPopup( HANDLE hContact, const char* line1, const char* line2, int flags POPUPDATACLASS d = {sizeof(d), "messagenotify"}; d.pszTitle = line1; d.pszText = line2; + d.hContact = hContact; d.PluginData = (void *)hContact; CallService(MS_POPUP_ADDPOPUPCLASS, 0, (LPARAM)&d); } else { @@ -191,6 +192,7 @@ void ShowPopupW( HANDLE hContact, const wchar_t* line1, const wchar_t* line2, in POPUPDATACLASS d = {sizeof(d), "messagenotify"}; d.pwszTitle = line1; d.pwszText = line2; + d.hContact = hContact; d.PluginData = (void *)hContact; CallService(MS_POPUP_ADDPOPUPCLASS, 0, (LPARAM)&d); } else { -- cgit v1.2.3