objective c - NSTextField click-through? -


i have static nstextfield overlays large error message in os x app. i'm trying allow user click controls beneath it.

in ib i've unchecked "enabled" , i've checked "refuses first responder"

i've done in code because wasn't working:

[largeerrortext setenabled:no]; [largeerrortext setrefusesfirstresponder:yes]; 

still, getting in way of interacting objects below it. ideas else might be?

the way have found make object transparent click subclass object (in case nstextfield) , override hittest method returning nil. way nstextfield not respond click nsview below respond click.

- (nsview*)hittest:(nspoint)apoint {     return nil; } 

Comments

Popular posts from this blog

android - getbluetoothservice() called with no bluetoothmanagercallback -

sql - ASP.NET SqlDataSource, like on SelectCommand -

ios - Undefined symbols for architecture armv7: "_OBJC_CLASS_$_SSZipArchive" -