• 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: Preventing NSSlider bar from drawing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Preventing NSSlider bar from drawing


  • Subject: Re: Preventing NSSlider bar from drawing
  • From: Karl Moskowski <email@hidden>
  • Date: Tue, 16 Jan 2007 16:22:22 -0500

Andreas & Michael,

In your NSSliderCell subclass, you have to override the private method _usesCustomTrackImage to suppress the drawing of the slider's track.

- (BOOL)_usesCustomTrackImage {
	return YES;
}

--Karl <email@hidden>


On 16-Jan-07, at 3:01 PM, email@hidden wrote:

Date: Tue, 16 Jan 2007 20:24:01 +0100
From: Andreas Mayer <email@hidden>
Subject: Re: Preventing NSSlider bar from drawing
To: email@hidden
Message-ID: <email@hidden>
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed


Am 16.01.2007 um 17:24 Uhr schrieb Michael Watson:

I can't seem to prevent the original Aqua bar from drawing.

Same here. I couldn't find a way that wouldn't require to essentially replace the entire control.


Andreas

_______________________________________________

Cocoa-dev mailing list (email@hidden)

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


  • Follow-Ups:
    • Re: Preventing NSSlider bar from drawing
      • From: Andreas Mayer <email@hidden>
    • Re: Preventing NSSlider bar from drawing
      • From: Michael Watson <email@hidden>
  • Prev by Date: Re: Bindling to array of NSImage
  • Next by Date: document based app Close menu item
  • Previous by thread: Re: Preventing NSSlider bar from drawing
  • Next by thread: Re: Preventing NSSlider bar from drawing
  • Index(es):
    • Date
    • Thread