Re: NSScroller will be visible even it is below other view in 10.4

2008-09-21 Thread qi . liu
Hi Andrew, Yeah, that is what I mean. But I am not sure if I understand your suggestion correctly, you mean I change the imageview's autoResizingMask? Since my app sometimes has to place the imageview on top of the scroller, now I can only set the scroller hidden when the imageview is on

Re: NSScroller will be visible even it is below other view in 10.4

2008-09-21 Thread Andrew Merenbach
Greetings! When I mentioned having an image view (in a borderless window) on top of your scroll view, I meant an actual window which has nothing besides an NSImageView inside of it. You would make the window borderless -- so that no title bar or close/minimize/zoom buttons will be

Re: NSScroller will be visible even it is below other view in 10.4

2008-09-21 Thread qi . liu
Hi, The scroller means NSScroller... Yes, I want to draw over the arrow. What I want to implement feels like *LAYERS*, though there are no layers actually.Layer1 has a NSScroller in it. Layer2 has a NSImageView in it. I don't want to see layer1 when layer2 is on top of it. Hope I have made it

Re: NSScroller will be visible even it is below other view in 10.4

2008-09-21 Thread Andrew Merenbach
Hi! The class reference documentation for NSScroller has, as one of the listed methods: drawArrow:highlight: Draws the scroll button indicated by arrow, which is either NSScrollerIncrementArrow (the down or right scroll button) or NSScrollerDecrementArrow (up or left). -

NSScroller will be visible even it is below other view in 10.4

2008-09-18 Thread qi . liu
Hi all, I found a tricky thing in Tiger: In Nib file, I have a NSScrollView in the window, and I put an NSImageView all above it, for I don't want to see the scrollView. But when window shows, I can see the scroller! In Leopard, the imageview covers the scroller. Did I miss something?

Re: NSScroller will be visible even it is below other view in 10.4

2008-09-18 Thread Andrew Merenbach
On Sep 18, 2008, at 3:53 AM, [EMAIL PROTECTED] wrote: Hi all, I found a tricky thing in Tiger: In Nib file, I have a NSScrollView in the window, and I put an NSImageView all above it, for I don't want to see the scrollView. But when window shows, I can see the scroller! In Leopard, the