I need to generate an ad-hoc number of color swatches in a floating window so that when a user clicks on one of them, the 'active' color of a stylus will change to that color. Most likely NSColorWell is not the right tool for the job...
On Mar 12, 2010, at 2:10 PM, Kevin Wojniak wrote: > Subclass and override mouseDown: - however if you're trying to intercept > right before the color panel is shown, or a drag starts, that may be trickier. > > What are you trying to do generally? > > > On Mar 12, 2010, at 1:30 PM, Jonathon Kuo wrote: > >> How can I intercept or get notified when a user clicks on an NSColorWell? >> OSX 10.6.2 >> >> _______________________________________________ >> >> 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/kainjow%40kainjow.com >> >> This email sent to kain...@kainjow.com > > _______________________________________________ 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