*/
	private void handleContextClick(Menu cm, MacPoint globalPos, MacEvent me) {				short menuId;		short index;				try {			fInContextMenu= true;			if (true) {				int result= OS.PopUpMenuSelect(cm.handle, (short)globalPos.getY(), (short)globalPos.getX(), (short)1);				if (result == OS.kNoErr)					return;				menuId= OS.HiWord(result);				index= OS.LoWord(result);			} else {				// AW: not ready for primetime				short[] id= new short[1];				short[] ix= new short[1];				if (OS.ContextualMenuSelect(cm.handle, globalPos.getData(), id, ix) != OS.kNoErr)					return;				menuId= id[0];				index= ix[0];			}		} finally {			fInContextMenu= false;		}		if (menuId != 0) {			Menu menu= cm.getShell().findMenu(menuId);			if (menu != null) {				//System.out.println("handleMenu: " + index);				menu.handleMenu(index);			}		}	}