summaryrefslogtreecommitdiff
path: root/include/delphi/m_genmenu.inc
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2016-09-05 10:56:12 +0000
committerGeorge Hazan <george.hazan@gmail.com>2016-09-05 10:56:12 +0000
commitb6432457c35f22d5fd4377284e2e7d5d6736e6dc (patch)
treeab545986f29028798420af0e29d866bd7d2bdec0 /include/delphi/m_genmenu.inc
parent3f9852b281fa9af7ebd286c4d7e5738c6f51b19e (diff)
compilation fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@17254 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include/delphi/m_genmenu.inc')
-rw-r--r--include/delphi/m_genmenu.inc12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/delphi/m_genmenu.inc b/include/delphi/m_genmenu.inc
index 2c7546f916..15ee72abeb 100644
--- a/include/delphi/m_genmenu.inc
+++ b/include/delphi/m_genmenu.inc
@@ -280,6 +280,18 @@ function Menu_GetItemInfo(hMenuItem:HGENMENU; var mi:TMO_MenuItem) : integer; st
function Menu_GetDefaultItem(hMenuItem:HGENMENU) : HGENMENU; stdcall; external AppDLL;
{
+ processes a WM_DRAWITEM message for user context menus,
+}
+
+function Menu_DrawItem(dis:LPARAM) : integer; stdcall; external AppDll;
+
+{
+ processes a WM_MEASUREITEM message for user context menus, see notes
+}
+
+function Menu_MeasureItem(mis:LPARAM) : integer; stdcall; external AppDll;
+
+{
wparam=MenuObjectHandle
lparam=vKey
returns TRUE if it processed the command, FALSE otherwise