Every time that drawRect is called

Posts: 131
Joined: 2010.08
Post: #1
When a view's size is changed, NSTrackingAreas are offset. As they can not be moved, is the best solution to dealloc them and alloc and init new ones every time that drawRect is called after the view's size has changed? Or is there a better way to do custom buttons than using NSTrackingArea?
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  So called "Full Screen Glow" TomorrowPlusX 9 8,557 Mar 7, 2005 01:39 PM
Last Post: TomorrowPlusX