• 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
Re: Hiding Custom NSViews?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Hiding Custom NSViews?


  • Subject: Re: Hiding Custom NSViews?
  • From: "Erik M. Buck" <email@hidden>
  • Date: Mon, 24 Sep 2001 18:16:14 -0500

For other discussions of the same topic

See:
http://www.omnigroup.com/search-bin/macosx-dev?Search=3Dhide+control

For a solution to add -isVisible and -setIsVisible: methods to every =
View

See: =
http://www.omnigroup.com/mailman/archive/macosx-dev/2001-February/009681.=
html and don't forget to read why it is a bad idea.

If you are creating custom NSView subclasses then just add -isVisible
and -setIsVisible: methods and an appropriate instance variable.
Overload -display to do nothing if -isVisible returns NO.


----- Original Message -----

References: 
 >Hiding Custom NSViews? (From: Michael Emfinger <email@hidden>)
 >Re: Hiding Custom NSViews? (From: "Erik M. Buck" <email@hidden>)

  • Prev by Date: Re: Machine serial number
  • Next by Date: Re: Machine serial number
  • Previous by thread: Re: Hiding Custom NSViews?
  • Next by thread: Newbie Questions
  • Index(es):
    • Date
    • Thread