NSButtonCell doesn't visually update during trackMouse:inRect:ofView:untilMouseUp:
NSButtonCell doesn't visually update during trackMouse:inRect:ofView:untilMouseUp:
- Subject: NSButtonCell doesn't visually update during trackMouse:inRect:ofView:untilMouseUp:
- From: Ben Lachman <email@hidden>
- Date: Mon, 17 Mar 2008 02:42:18 -0400
I have a few NSButtonCells that I'm using in a custom view. I need
them to track the mouse during clicks and do this by calling NSCell's
trackMouse:inRect:ofView:untilMouseUp:. This works fine except that
the button cells never update their graphical state by highlighting
or whatever. However if I call performClick: on them the button
updates as it should. Is the only solution to this to implement
mouse tracking at the view instead of at the cell level?
Thanks,
->Ben
--
Ben Lachman
Acacia Tree Software
http://acaciatreesoftware.com
email@hidden
740.590.0009
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden