• 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
NSButtonCell doesn't visually update during trackMouse:inRect:ofView:untilMouseUp:
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: NSButtonCell doesn't visually update during trackMouse:inRect:ofView:untilMouseUp:
      • From: glenn andreas <email@hidden>
  • Prev by Date: Distributed Objects NSPortTimeoutException
  • Next by Date: Prevent application activation after dragging items to the Dock icon?
  • Previous by thread: Re: Distributed Objects NSPortTimeoutException
  • Next by thread: Re: NSButtonCell doesn't visually update during trackMouse:inRect:ofView:untilMouseUp:
  • Index(es):
    • Date
    • Thread