Originally posted by smeger:
Override your control's acceptsFirstMouse: method so it always returns "NO". See [NSView acceptsFirstMouse:].
Great, but I have a better solution. I've made a class called MFClickThroughDisabler that you just attach to a control in IB and it disable and enable attached control automagically when the window change state preventing click through and giving the correct visual feedback.
If someone want it, just send me an
email.
[edit: typo]