• 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
Custom button tracking problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Custom button tracking problem


  • Subject: Custom button tracking problem
  • From: Steve Israelson <email@hidden>
  • Date: Mon, 14 Jan 2008 12:18:46 -0800

I have made a custom button and cell class and have a mouse tracking problem I can't solve.
The button is tall, about 45 pixels. The title is the normal size and centered.
When there is a click in the button, the button only responds when the mouse is clicked inside the title string.
I tried over-riding track mouse in the cell class, but it is not even called if the mouse is not over the title string.
Does anyone know of any other things I must override in the button or cell classes to make this work properly?



_______________________________________________

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


  • Prev by Date: Quitting Current Application
  • Next by Date: NSButton drawing glitch
  • Previous by thread: Re: Quitting Current Application
  • Next by thread: NSButton drawing glitch
  • Index(es):
    • Date
    • Thread