clipChildren problem

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

clipChildren problem

Jerry Bell
I'm having redraw problems with AXControlSites.  Setting clipChildren: to
true on the container view holding the AXControlSite usually helps.  But, I
don't know the rules for clipChildren - does every container view above the
AXControlSite need to have its clipChildren set to true?  What about other
containerView subviews of a containerView with clipChildren=true - it looks
like you need to set their clipChildren=true as well or they won't redraw
correctly?

The problem I'm having is with a AXControlSite (showing a web browser) that
is buried very deeply in a complex view.  The view is a card (added
dynamically) in a cardContainer.  I can set the clipChildren: to true all
the way up the view hierarchy, but then it looks like I have to go back and
make sure all of the other pages are set for clipChildren: true as well, or
they won't draw correctly?    Sometimes the other presenters are used
outside of the card container, where there is no AXControlSite to worry
about.  I guess I could change all of the views in all of the presenters I
use to clipChildren=true, is that the best strategy?  Or is there something
else I can do?  It might be possible for a view that needs clipChildren set
to true to force its parent views to clipChildren=true at runtime, would
something like that work?

Thanks in advance for any help.

Jerry Bell
[hidden email]