• 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: Hidden NSSlider
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Hidden NSSlider


  • Subject: RE: Hidden NSSlider
  • From: Lance Drake <email@hidden>
  • Date: Wed, 6 Apr 2005 11:24:45 -0600

Hi Rick,

The views stack on top each other in the order they are added to whatever is the parent view. You could get the view for your NSSlider, remove the view it's in and then re-add it. It'll end up being on top of whatever was there.

See NSView.h for '- (void)removeFromSuperview;' and '- (void)addSubview:(NSView *)aView;'.

There may be a better way to do it - perhaps somebody else will chime in - but that works for me...


HTH,

Lance Drake

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Hidden NSSlider
      • From: Daniel DeCovnick <email@hidden>
  • Prev by Date: Re: Porting to Win32
  • Next by Date: Forcing drawViewBackgroundInRect to display on text change...
  • Previous by thread: Hidden NSSlider
  • Next by thread: Re: Hidden NSSlider
  • Index(es):
    • Date
    • Thread