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 --- include/m_protoint.h | 3 +++ include/m_protosvc.h | 11 ----------- 2 files changed, 3 insertions(+), 11 deletions(-) (limited to 'include') diff --git a/include/m_protoint.h b/include/m_protoint.h index 184d36d4c5..ed8b0f907f 100644 --- a/include/m_protoint.h +++ b/include/m_protoint.h @@ -258,6 +258,9 @@ public: // called when an account's contact is deleted virtual void OnContactDeleted(MCONTACT); + // called when the Account Manager needs to draw short account's options + virtual MWindow OnCreateAccMgrUI(MWindow hwndParent); + // called when an event is altered in database virtual void OnEventEdited(MCONTACT, MEVENT); diff --git a/include/m_protosvc.h b/include/m_protosvc.h index 031622a3a5..32fcc8bc7b 100644 --- a/include/m_protosvc.h +++ b/include/m_protosvc.h @@ -290,17 +290,6 @@ static __inline unsigned long Proto_Status2Flag(int status) #define PS_AUTHDENY "/AuthDeny" -/////////////////////////////////////////////////////////////////////////////// -// Create account manager UI form -// wParam = 0 -// lParam = (LPARAM)(HWND)hwndAccMgr -// Returns handle on newly created form. -// Size for best fit is 186x134 DLUs, please avoid groupboxes -// paddind and advanced options. This should provide minimal setup -// for initial connect. - -#define PS_CREATEACCMGRUI "/CreateAccMgrUI" - /////////////////////////////////////////////////////////////////////////////// // Send a basic search request // wParam = 0 -- cgit v1.2.3