diff options
Diffstat (limited to 'include/delphi/m_genmenu.inc')
-rw-r--r-- | include/delphi/m_genmenu.inc | 12 |
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
|