static INT_PTR BuildContextFrameMenu(WPARAM wParam, LPARAM lParam) { ContextFrameMenuNotify(wParam, -1); HMENU hMenu = CreatePopupMenu(); Menu_Build(hMenu, hFrameMenuObject, wParam, lParam); return (INT_PTR)hMenu; }
static INT_PTR BuildContextFrameMenu(WPARAM wParam, LPARAM lParam) { ListParam param = {0}; param.MenuObjectHandle = hFrameMenuObject; param.wParam = wParam; param.lParam = lParam; HMENU hMenu = CreatePopupMenu(); ContextFrameMenuNotify(wParam, -1); CallService(MO_BUILDMENU, (WPARAM)hMenu, (LPARAM)¶m); return (INT_PTR)hMenu; }
static INT_PTR BuildContextFrameMenu(WPARAM wParam,LPARAM lParam) { CLISTMENUITEM *mi=(CLISTMENUITEM*)lParam; HMENU hMenu; ListParam param = { 0 }; param.MenuObjectHandle=hFrameMenuObject; param.wParam=wParam; param.lParam=lParam; hMenu=CreatePopupMenu(); //NotifyEventHooks(hPreBuildFrameMenuEvent,wParam,-1); ContextFrameMenuNotify(wParam,-1); CallService(MO_BUILDMENU,(WPARAM)hMenu,(LPARAM)¶m); return (INT_PTR)hMenu; }
static int BuildContextFrameMenu(WPARAM wParam,LPARAM lParam) { CLISTMENUITEM *mi=(CLISTMENUITEM*)lParam; HMENU hMenu; ListParam param; memset(¶m,0,sizeof(param)); param.MenuObjectHandle=hFrameMenuObject; param.wParam=wParam; param.lParam=lParam; param.rootlevel=-1; hMenu=CreatePopupMenu(); //NotifyEventHooks(hPreBuildFrameMenuEvent,wParam,-1); ContextFrameMenuNotify(wParam,-1); CallService(MO_BUILDMENU,(WPARAM)hMenu,(LPARAM)¶m); return (int)hMenu; }