• 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: How can I hide an NSView properly?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How can I hide an NSView properly?


  • Subject: Re: How can I hide an NSView properly?
  • From: Markus Hitter <email@hidden>
  • Date: Thu, 28 Feb 2002 17:22:26 +0100

Am Donnerstag den, 28. Februar 2002, um 14:30, schrieb Gerben Wierda:

This will probably work, but I think this fails when the superview is resized when the indicator is hidden. So this method will probably mean that I have to give up on a resizable window (or do a lot of calculation).

Replace your indicator with an empty view which will track the resizing for you. Or, put an empty NSView between the indicator and the background (might be not too easy to do in IB). This, you can show your indicator always in the same place relative to the intermediate view.


I haven't been able to find hide/unhide methods for views (or even controls). Am I overlooking something?

Aqua guidelines tell you to avoid hiding parts of the user interface. An progress indicator is on the border where minds differ. Compare the chasing arrows in Mail.app with them of OmniWeb.app


Have fun,
Markus

- - - - - - - - - - - - - - - - - - -
Dipl. Ing. Markus Hitter
http://www.jump-ing.de/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >How can I hide an NSView properly? (From: Gerben Wierda <email@hidden>)

  • Prev by Date: Re: Two basic questions
  • Next by Date: Re: NSWorkspaceRecycleOperation and auto-renaming items moved to Trash
  • Previous by thread: How can I hide an NSView properly?
  • Next by thread: Re: How can I hide an NSView properly?
  • Index(es):
    • Date
    • Thread