Re: Autohiding scrollers/determining visibility
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.