• 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
Scrolling NSView without scrollbars
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Scrolling NSView without scrollbars


  • Subject: Scrolling NSView without scrollbars
  • From: "Dr. Scott Steinman" <email@hidden>
  • Date: Thu, 3 Jan 2002 06:57:06 -0600

Sorry. I sent this from the wrong account.
-Scott Steinman

From: Scott Steinman <email@hidden>
Date: Thu Jan 03, 2002 06:12:43 AM US/Central
To: email@hidden
Subject: Scrolling NSView without scrollbars

I need to be able to store a large image in an NSView, so that I can display different sections of the image programmatically and therefore continuously scroll the contents of the view. When reading the NSView documentation, it suggests that the NSView frame and bound sizes can be different, so that a large image can be placed in a smaller NSView. However, Interface Builder enforces the same size for the frame and bounds, preventing me from making the image larger than the visible region of the view.

As a Cocoa newbie, I assume I'm just overlooking something incredibly simple. I'd appreciate some help.

Thank you.

Scott Steinman
email@hidden


  • Prev by Date: Re: Unicode filename and FSPathMakeRef
  • Next by Date: Surrogate object / forwarding
  • Previous by thread: Re: Unexpected behavior of NSNumberFormatter
  • Next by thread: Re: Scrolling NSView without scrollbars
  • Index(es):
    • Date
    • Thread