How to handle touch priority on multiple CCMenu in a CCScene?

I am using multiple CCMenu (more than 4) in one of my CCScene. But the probleme is that when user Touch on a CCMenuItem in one CCMenu and at the same time touches CCMenuItem of another CCMenu then on release callback both buttons are working.

I have also modified ccTouchBegan method and called “activate()” method instead of ccTouchEnded method. Now problem is solved but I am not able to see “Selected” image for the CCMenuItem because menu activates only when user starts touch.

I am just wondering how can we disable. One CCMenu when we are touching another CCMenu?.

Please give your suggestions.

Thanks.

Why are they overlapping each other anyway?

They are not overlapping in any way. But for the requirement I have to add multiple CCMenu on a single CCLayer. The problem arise when you tap on both button and release then callback function of both MenuItems executes which is causing problems. I have to manually enable disable both menus.