|[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]|
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...
As far as TScrollableView is concerned -- I have read the ScrollView sample but do not understand whether I should create the view using TScrollableView::Create or HIScrollViewCreate. The sample seems to use both.
|>Re: Adding focus support to HIView (From: Dario Accornero <email@hidden>)|
Visit the Apple Store online or at retail locations.
Copyright © 2011 Apple Inc. All rights reserved.