|[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]|
On Monday, December 2, 2002, at 03:04 PM, Dario Accornero wrote:
There are two problems: the focus ring is drawn offset to the window frame; controls (scrollbars/disclosures) are drawn properly, but tracking occurs relative to the window frame. Wouldn't it be possible to handle some Carbon events (or use some DB callbacks) in order to override the behavior for these two cases? I was thinking of offsetting the QD port or CG context at the proper moments, if that is at all possible...
It might be, but I honestly don't know. If it were possible, the way to do it would be to override kEventControlDraw, since in compositing mode all drawing should occur inside that event.
|>Re: Adding focus support to HIView (From: Eric Schlegel <email@hidden>)|
Visit the Apple Store online or at retail locations.
Copyright © 2011 Apple Inc. All rights reserved.