summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-05-15 12:39:03 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-05-15 12:39:03 +0000
commitbf98c312685197382277ac766ed2e4ceb1e7c1f4 (patch)
treedfbb3521c28324dedcf3d96f2407a30175ec9cbd /include
parent4932283857884ab7d00a7901ee051760c0963348 (diff)
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
Diffstat (limited to 'include')
-rw-r--r--include/delphi/m_message.inc14
-rw-r--r--include/m_message.h6
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