HMENU WINAPI DLLExport GetExpressionMenu(mv _far *knpV, fpObjInfo oiPtr, LPEDATA edPtr) { // Check compatibility if ( !IS_COMPATIBLE(knpV) ) return NULL; return GetPopupMenu(MN_EXPRESSIONS); }
HMENU WINAPI DLLExport GetExpressionMenu(mv _far *mV, fpObjInfo oiPtr, LPEDATA edPtr) { #ifndef RUN_ONLY // Check compatibility return GetPopupMenu(edPtr,MN_EXPRESSIONS); #endif // !RUN_ONLY return NULL; }
HMENU WINAPI DLLExport GetExpressionMenu(mv _far *mV, fpObjInfo oiPtr, LPEDATA edPtr) { #ifndef RUN_ONLY // Check compatibility if ( IS_COMPATIBLE(mV) ) return GetPopupMenu(MN_EXPRESSIONS); #endif // !defined(RUN_ONLY) return NULL; }
HMENU WINAPI DLLExport GetActionMenu(mv _far *mV, fpObjInfo oiPtr, LPEDATA edPtr) { #ifndef RUN_ONLY // Check compatibility if ( IS_COMPATIBLE(mV) ) { HMENU menu = GetPopupMenu(MN_ACTIONS); return menu; } #endif // !defined(RUN_ONLY) return NULL; }
void MainFrame::ShowPopupMenu( wxListEvent& event ) { PopupMenu(GetPopupMenu(), event.GetPoint()); }