• 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
Re: NSApplicationMain question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSApplicationMain question


  • Subject: Re: NSApplicationMain question
  • From: Graham Cox <email@hidden>
  • Date: Tue, 27 Apr 2010 00:00:20 +1000

On 26/04/2010, at 11:51 PM, Bill Appleton wrote:

> in other words all the shared code for imaging the offset page is common, i
> need a scroll bar that behaves like a puppet & DOES nothing


NSScroller is just a control, it does nothing except tell you its value. While the HIG advises against it, it can be used in place of a slider or similar.

If you are using it to scroll a view though, it's much easier to use NSScrollView which owns two scrollbars and handles the positioning for you. Scrolling is generally much easier to deal with in Cocoa than in Carbon.

--Graham


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >NSApplicationMain question (From: Bill Appleton <email@hidden>)
 >Re: NSApplicationMain question (From: Michael Ash <email@hidden>)
 >Re: NSApplicationMain question (From: Bill Appleton <email@hidden>)
 >Re: NSApplicationMain question (From: Jens Alfke <email@hidden>)
 >Re: NSApplicationMain question (From: Bill Appleton <email@hidden>)
 >Re: NSApplicationMain question (From: Jack Carbaugh <email@hidden>)
 >Re: NSApplicationMain question (From: Bill Appleton <email@hidden>)
 >Re: NSApplicationMain question (From: Charles Srstka <email@hidden>)
 >Re: NSApplicationMain question (From: Charles Srstka <email@hidden>)
 >Re: NSApplicationMain question (From: Bill Appleton <email@hidden>)

  • Prev by Date: Re: NSApplicationMain question
  • Next by Date: Re: Creating temporary NSManagedObjects (PS)
  • Previous by thread: Re: NSApplicationMain question
  • Next by thread: Re: NSApplicationMain question
  • Index(es):
    • Date
    • Thread