Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SetControlViewSize issue w/update region



Hi,

I have a weird issue with SetControlViewSize() and
scrollbars.  Here's the situation.  I have a vertical
scrollbar, a small placard area below it, followed by
another vertical scroll bar.  It's in a horizontally
split document.

I look at the update region when I'm drawing the top
scrollbar.  The invalid region contains both
scrollbars and the placard area.  When I call
SetControlViewSize(), both scrollbars and the placard
area are removed from the update region.  Why? 
Shouldn't this call be confined to the area of the
scrollbar that I'm updating?  If I force the clip to
the scrollbar, everything works fine.

Any idea what I'm doing wrong here?

Thanks,
-Mike

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.