How to disable Click through to a NSView behind another NSView
===

I have two NSViews on top of each other. One NSView presents a table with rows. On clicking a  row another view is shown on top of that view.

Now the problem is when I click on an area on the second view where there is a row on the underneath NSView then it gets clicked. How can I stop that?

Thanks 