FROM : Lance Drake
DATE : Wed Apr 06 19:24:45 2005
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
DATE : Wed Apr 06 19:24:45 2005
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
| Related mails | Author | Date |
|---|---|---|
| R T | Apr 6, 18:19 | |
| Lance Drake | Apr 6, 19:24 | |
| Daniel DeCovnick | Apr 6, 19:39 | |
| Lance Drake | Apr 7, 02:06 | |
| R T | Apr 7, 03:22 | |
| Lance Drake | Apr 7, 05:37 |






Cocoa mail archive

