summaryrefslogtreecommitdiff
path: root/include/delphi/m_message.inc
diff options
context:
space:
mode:
Diffstat (limited to 'include/delphi/m_message.inc')
-rw-r--r--include/delphi/m_message.inc29
1 files changed, 15 insertions, 14 deletions
diff --git a/include/delphi/m_message.inc b/include/delphi/m_message.inc
index ceac07dc85..73577802d5 100644
--- a/include/delphi/m_message.inc
+++ b/include/delphi/m_message.inc
@@ -126,17 +126,27 @@ const
}
MS_MSG_SETSTATUSTEXT:PAnsiChar = 'MessageAPI/SetStatusText';
+type
+ pMessageWindowEvent = ^MessageWindowEvent;
+ MessageWindowEvent = record
+ cbSize :int;
+ seq :int; // number returned by PSS_MESSAGE
+ hContact :THANDLE;
+ dbei :PDBEVENTINFO; // database event written on the basis of message sent
+ end;
+
+const
{ wparam=0(unused)
- lparam=(pMessageWindowEvent) event being written
+ lparam=(pMessageWindowEvent) event written
fired before SRMM writes an entered message into the database
}
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';
@@ -158,15 +168,6 @@ type
selection:int; // The menu control id or 0 if no one was selected
end;
-type
- pMessageWindowEvent = ^MessageWindowEvent;
- MessageWindowEvent = record
- cbSize :int;
- seq :int; // number returned by PSS_MESSAGE
- hContact :THANDLE;
- dbei :pDbEventInfo; // database event written on the basis of message sent
- end;
-
// status icons
const
MBF_DISABLED = 1;