From bf98c312685197382277ac766ed2e4ceb1e7c1f4 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 15 May 2013 12:39:03 +0000 Subject: MS_MSG_SETSTATUSTEXT - new service for setting the SRMM window's status bar text git-svn-id: http://svn.miranda-ng.org/main/trunk@4656 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- include/delphi/m_message.inc | 14 ++++++++++---- include/m_message.h | 6 ++++++ 2 files changed, 16 insertions(+), 4 deletions(-) (limited to 'include') diff --git a/include/delphi/m_message.inc b/include/delphi/m_message.inc index 112e94ed01..ceac07dc85 100644 --- a/include/delphi/m_message.inc +++ b/include/delphi/m_message.inc @@ -120,6 +120,12 @@ const } MS_MSG_GETWINDOWDATA:PAnsiChar = 'MessageAPI/GetWindowData'; +{ wparam=(THANDLE)hContact + lparam=(pWideChar)ptszMessageText + Sets a status line text for the appropriate contact +} + MS_MSG_SETSTATUSTEXT:PAnsiChar = 'MessageAPI/SetStatusText'; + { wparam=0(unused) lparam=(pMessageWindowEvent) event being written fired before SRMM writes an entered message into the database @@ -127,10 +133,10 @@ const ME_MSG_PRECREATEEVENT:PAnsiChar = 'MessageAPI/PreCreateEvent'; { wParam = 0 - lParam = (MessageWindowPopupData *)&MessageWindowPopupData; - Fired to allow plugins to add itens to the msg window popup menu - Always fired twice: once with MSG_WINDOWPOPUP_SHOWING and once with MSG_WINDOWPOPUP_SELECTED. - This is done to allow cleaning of resources. + lParam = (MessageWindowPopupData *)&MessageWindowPopupData; + Fired to allow plugins to add itens to the msg window popup menu + Always fired twice: once with MSG_WINDOWPOPUP_SHOWING and once with MSG_WINDOWPOPUP_SELECTED. + This is done to allow cleaning of resources. } ME_MSG_WINDOWPOPUP:PAnsiChar = 'MessageAPI/WindowPopupRequested'; diff --git a/include/m_message.h b/include/m_message.h index a8258aadfe..897f4a5475 100644 --- a/include/m_message.h +++ b/include/m_message.h @@ -71,6 +71,11 @@ typedef struct { HWND hwndLog; // log area window for the contact (or NULL if there is none) } MessageWindowEventData; +//wparam = (HANDLE)hContact +//lparam = (TCHAR*)ptszMessageText +//Sets a status line text for the appropriate contact +#define MS_MSG_SETSTATUSTEXT "MessageAPI/SetStatusText" + //wparam = 0 //lparam = 0 //Returns a dword with the current message api version @@ -127,6 +132,7 @@ typedef struct { // Fired to allow plugins to add items to the msg window popup menu // Always fired twice: once with MSG_WINDOWPOPUP_SHOWING and once with MSG_WINDOWPOPUP_SELECTED. // This is done to allow cleaning of resources. + #define ME_MSG_WINDOWPOPUP "MessageAPI/WindowPopupRequested" #define MSG_WINDOWPOPUP_SHOWING 1 -- cgit v1.2.3