• 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: Autohiding scrollers/determining visibility
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Autohiding scrollers/determining visibility


  • Subject: Re: Autohiding scrollers/determining visibility
  • From: John Randolph <email@hidden>
  • Date: Thu, 15 Jan 2004 17:00:33 -0800

On Jan 15, 2004, at 11:02 AM, Josh Anon wrote:

Is there a definitive way to determine visibility?

On Panther:

NSScrollView *myScrollView;
...
NSScroller *hScroller = [myScrollView horizontalScroller];
BOOL visibleScroller = hScroller && ![hScroller isHiddenOrHasHiddenAncestor];

-jcr

John C. Randolph <email@hidden> (408) 974-8819
Sr. Cocoa Software Engineer,
Apple Worldwide Developer Relations
http://developer.apple.com/cocoa/index.html
_______________________________________________
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: 
 >Autohiding scrollers/determining visibility (From: Josh Anon <email@hidden>)

  • Prev by Date: NSTextView data binding delay
  • Next by Date: Cocoa App daemon with NSPanel
  • Previous by thread: Autohiding scrollers/determining visibility
  • Next by thread: RE: Autohiding scrollers/determining visibility
  • Index(es):
    • Date
    • Thread