• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
setEnabled equivalent for non-NSControl views
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

setEnabled equivalent for non-NSControl views


  • Subject: setEnabled equivalent for non-NSControl views
  • From: email@hidden
  • Date: Fri, 20 Sep 2013 12:10:40 +0900

I need to find a way to enable and disable views like NSScrollView and NSTextView in a manner similar to what happens when sending setEnabled: to views that inherit from NSControl

That is, for such views to gray out and stop responding to mouse, key, scroll and gesture events.
Kind of a modal state, if you will.

So far it seems way more complicated than it should be which makes me believe I'm missing something obvious.

Applying CIFilters and intercepting events seems like overkill.

Anybody have suggestions on how best to achieve this?

Thanks
John
Sent from my iPhone
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: setEnabled equivalent for non-NSControl views
      • From: Keary Suska <email@hidden>
  • Prev by Date: Re: iOS Calendar Question
  • Next by Date: Re: Still can't get autolayout to work the way I want
  • Previous by thread: Re: Still can't get autolayout to work the way I want
  • Next by thread: Re: setEnabled equivalent for non-NSControl views
  • Index(es):
    • Date
    • Thread