diff options
author | Tobias Weimer <wishmaster51@googlemail.com> | 2014-04-21 17:39:45 +0000 |
---|---|---|
committer | Tobias Weimer <wishmaster51@googlemail.com> | 2014-04-21 17:39:45 +0000 |
commit | c13392f8596e858110dc4c61fbdf1d41e47cc8a9 (patch) | |
tree | 7eb5a3790ce4069393addff302d24306a496a04e /protocols | |
parent | d1851afba0e105ab2b0c7e8ad5e72a4dfbc5dd71 (diff) |
- Added lParam to POPUPCLASS
- Removed MS_POPUP_ISSECONDLINESHOWN
- Support for mutating popups in Facebook
git-svn-id: http://svn.miranda-ng.org/main/trunk@9021 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols')
-rw-r--r-- | protocols/FacebookRM/src/events.cpp | 3 | ||||
-rw-r--r-- | protocols/FacebookRM/src/proto.cpp | 3 |
2 files changed, 3 insertions, 3 deletions
diff --git a/protocols/FacebookRM/src/events.cpp b/protocols/FacebookRM/src/events.cpp index e1e3ac560f..8604d58492 100644 --- a/protocols/FacebookRM/src/events.cpp +++ b/protocols/FacebookRM/src/events.cpp @@ -86,8 +86,7 @@ HWND FacebookProto::NotifyEvent(TCHAR* title, TCHAR* info, MCONTACT contact, DWO pd.PluginData = data;
}
- if (CallService(MS_POPUP_ADDPOPUPCLASS, 0, (LPARAM)&pd) == 0)
- return NULL; // TODO: return popup window handle (to allow closing them)
+ return (HWND) CallService(MS_POPUP_ADDPOPUPCLASS, 0, (LPARAM)&pd);
}
} else {
if (ServiceExists(MS_CLIST_SYSTRAY_NOTIFY))
diff --git a/protocols/FacebookRM/src/proto.cpp b/protocols/FacebookRM/src/proto.cpp index 7ceab6fc52..abd24e7d7d 100644 --- a/protocols/FacebookRM/src/proto.cpp +++ b/protocols/FacebookRM/src/proto.cpp @@ -811,7 +811,8 @@ void FacebookProto::InitPopups() {
POPUPCLASS ppc = { sizeof(ppc) };
ppc.flags = PCF_TCHAR;
- ppc.PluginWindowProc = (WNDPROC)PopupDlgProc;
+ ppc.PluginWindowProc = PopupDlgProc;
+ ppc.lParam = APF_RETURN_HWND;
TCHAR desc[256];
char name[256];
|