summaryrefslogtreecommitdiff
path: root/include/delphi/m_message.inc
diff options
context:
space:
mode:
authorAlexey Kulakov <panda75@bk.ru>2014-01-15 21:04:05 +0000
committerAlexey Kulakov <panda75@bk.ru>2014-01-15 21:04:05 +0000
commit45ed02f2c6064fa41d59c01f457565365d22ae59 (patch)
tree27740fbe37fb0d1b09751491ffa88547de12352e /include/delphi/m_message.inc
parentc1173e359c7c5ec3c173a0402716c2a53af607ef (diff)
sync
git-svn-id: http://svn.miranda-ng.org/main/trunk@7669 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
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;