diff options
author | sje <sje@4f64403b-2f21-0410-a795-97e2b3489a10> | 2007-07-20 05:40:29 +0000 |
---|---|---|
committer | sje <sje@4f64403b-2f21-0410-a795-97e2b3489a10> | 2007-07-20 05:40:29 +0000 |
commit | d73e2c675deac8d5fbf67767ac4bb26fe9d054db (patch) | |
tree | ecdd94cb7ba666ca80c57c6bf9ea2357479b129f /message_notify/popups.cpp | |
parent | 593c60e7121208481948fc2f5a878d11a6651e4e (diff) |
put hcontact into popup class data
git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@292 4f64403b-2f21-0410-a795-97e2b3489a10
Diffstat (limited to 'message_notify/popups.cpp')
-rw-r--r-- | message_notify/popups.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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 {
|