On 10/14/09 10:24 PM, Gabriel Zachmann said: >Could someone please explain to me how I can present a little tag to >the user that moves along with a slider's handle (above or below), in >which I can give some feedback to the user about the current value of >the slider? > >I'm afraid I couldn't find an example, but I think I have seen such a >thing somewhere ...
You have to do it yourself. You can create a borderless NSWindow for the 'little tag'. You can use knobRectFlipped to get the thumb's position. You'll probably also want to use addChildWindow:ordered: to keep your floating window linked to the slider's window. You can use an NSTimer to close the window after a short delay. -- ____________________________________________________________ Sean McBride, B. Eng s...@rogue-research.com Rogue Research www.rogue-research.com Mac Software Developer Montréal, Québec, Canada _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com