From 13c65091dba7803ddc8b604732d3cf3e8cb2fe5d Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 11 Feb 2023 18:58:29 +0300 Subject: PS_CREATEACCMGRUI is obsoleted and converted into event --- protocols/Facebook/src/proto.cpp | 5 ++--- protocols/Facebook/src/proto.h | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) (limited to 'protocols/Facebook') diff --git a/protocols/Facebook/src/proto.cpp b/protocols/Facebook/src/proto.cpp index 82043fdf55..ab9a35a58a 100644 --- a/protocols/Facebook/src/proto.cpp +++ b/protocols/Facebook/src/proto.cpp @@ -297,8 +297,7 @@ int FacebookProto::UserIsTyping(MCONTACT hContact, int type) ////////////////////////////////////////////////////////////////////////////// // Services -INT_PTR FacebookProto::SvcCreateAccMgrUI(WPARAM, LPARAM lParam) +MWindow FacebookProto::OnCreateAccMgrUI(MWindow hwndParent) { - return (INT_PTR) CreateDialogParam(g_plugin.getInst(), MAKEINTRESOURCE(IDD_FACEBOOKACCOUNT), - (HWND) lParam, FBAccountProc, (LPARAM) this); + return CreateDialogParam(g_plugin.getInst(), MAKEINTRESOURCE(IDD_FACEBOOKACCOUNT), hwndParent, FBAccountProc, (LPARAM)this); } diff --git a/protocols/Facebook/src/proto.h b/protocols/Facebook/src/proto.h index 20d218b4b1..16a3cbd4c1 100644 --- a/protocols/Facebook/src/proto.h +++ b/protocols/Facebook/src/proto.h @@ -532,6 +532,7 @@ public: int SetStatus(int iNewStatus) override; int UserIsTyping(MCONTACT hContact, int type) override; + MWindow OnCreateAccMgrUI(MWindow) override; void OnMarkRead(MCONTACT, MEVENT) override; //////////////////////////////////////////////////////////////////////////////////////// @@ -547,7 +548,6 @@ public: INT_PTR __cdecl GetAvatarCaps(WPARAM, LPARAM); INT_PTR __cdecl GetAvatarInfo(WPARAM, LPARAM); - INT_PTR __cdecl SvcCreateAccMgrUI(WPARAM, LPARAM); }; typedef CProtoDlgBase CFBDlgBase; -- cgit v1.2.3