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

Autohiding scrollers/determining visibility


  • Subject: Autohiding scrollers/determining visibility
  • From: Josh Anon <email@hidden>
  • Date: Thu, 15 Jan 2004 11:02:45 -0800

Hi everyone,
Here's an interesting one. If I have a scroll view, and I set it to autohide its scrollers, how can I determine if the scroller is visible or not? Here's what I've found:

1. hasHorizontal/VertcalScroller will return yes, even if it's not visible
2. Sometimes the scroller's frame origin will be < 0 or > scroll view width, which works to determine visibility
3. Other times (when not visible), the scroller's width will be significantly less than the scroll view width, but sometimes it will only be a few pixels less.

Is there a definitive way to determine visibility?

Thanks,
Josh

---
Josh Anon
Studio Tools, Pixar Animation Studios
email@hidden
_______________________________________________
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.

  • Follow-Ups:
    • Re: Autohiding scrollers/determining visibility
      • From: John Randolph <email@hidden>
  • Prev by Date: NSTextView to Image
  • Next by Date: NSView bug?
  • Previous by thread: NSTextView to Image
  • Next by thread: Re: Autohiding scrollers/determining visibility
  • Index(es):
    • Date
    • Thread