I have a static NSTextFieldone that overlays a big error message in my OS X application. I'm trying to get it to allow the user to click the controls under it.
NSTextField
In IB, I turned off "on" and I checked "Fails first responder"
I also did this in code because this does not work:
[largeErrorText setEnabled:NO]; [largeErrorText setRefusesFirstResponder:YES];
However, this makes it difficult to interact with the objects below. Any ideas what else could be?
, , , - ( NSTextField) hitTest, . , NSTextField , NSView .
- (NSView*)hitTest:(NSPoint)aPoint { return nil; }
, , :
NSTextField, , , NSButton
NSButton
, " ". , . , , , NSTextField "" , . , "" > "" > " ". , , .