diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/delphi/m_message.inc | 14 | ||||
-rw-r--r-- | include/m_message.h | 6 |
2 files changed, 16 insertions, 4 deletions
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
|