Mailing Lists: Apple Mailing Lists

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

SetWindowBounds and drawing content



I've got a view's whose sole purpose is to resize/move a window assigned to it so that the window appears in place of the view. When the view is resized, the window is (live) resized too.

This works great for windows that contain views (and as such, composited). But for windows whose content I haven't converted to views yet, the content isn't redrawn until the manual resize is finished. Live resizing works just fine on the windows themselves, just not while they're being resized due to me calling SetWindowBounds() while a view is being resized.

I was hoping to avoid having to rewrite all of my windows content as views. Is there any way to get a window to redraw immediately after SetWindowBounds?

-Chinh Nguyen
 email@hidden

_______________________________________________
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.