Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Benjamindaines

macrumors 68030
Original poster
Is there anyway to remove the scroll bar from a window using Interface Builder? I still want the window the scroll if it is hovered over and the mouse wheel is wheeled though.

--Thanks.
 
NSWindow does not have scrolls on it, rather that is a NSScrollView inside it. You could go in and use the setHasVerticalScroller: and setHasHorizontalScroller: methods. I have not tried that, but it looks like that would do what you want.

However, I am going to say that this is probably a really bad idea for almost all uses. Not everyone has a scroll wheel (or knows how to use it... I am not kidding here). And it makes your app really non-discoverable and breaks the typical usage patterns. So in general a bad idea.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.