From 68924bfc1a213e619563c2cffb6d44b5b5346f6d Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 26 Jun 2015 18:21:10 +0000 Subject: next slice of cutting out unused menu features - popupPosition git-svn-id: http://svn.miranda-ng.org/main/trunk@14400 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/MenuItemEx/src/main.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'plugins/MenuItemEx') diff --git a/plugins/MenuItemEx/src/main.cpp b/plugins/MenuItemEx/src/main.cpp index 846b1bb65d..8937e6f198 100644 --- a/plugins/MenuItemEx/src/main.cpp +++ b/plugins/MenuItemEx/src/main.cpp @@ -737,13 +737,15 @@ static HGENMENU AddSubmenuItem(HGENMENU hRoot, TCHAR* name, HICON icon, DWORD fl { CLISTMENUITEM mi = { 0 }; mi.hParentMenu = hRoot; - mi.popupPosition = param; mi.position = pos; mi.ptszName = name; mi.hIcon = icon; mi.flags = CMIF_UNICODE | CMIF_ROOTHANDLE | flag; mi.pszService = service; - return Menu_AddContactMenuItem(&mi); + + HGENMENU res = Menu_AddContactMenuItem(&mi); + Menu_ConfigureItem(res, MCI_OPT_EXECPARAM, param); + return res; } static void ModifySubmenuItem(HGENMENU hItem, int checked, int hidden) -- cgit v1.2.3