Mailing Lists: Apple Mailing Lists

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

Re: Live content questions



On 28 Nov 2003, at 17:09, David Duncan wrote:

Actually that only has an effect on Panther, and tells the Window Server to drag the window itself, rather than calling into the application to do it. It will actually prevent you from doing life resizing (at least in real time) as it causes far fewer bounds changing events to be sent. Standard windows should use the kWindowLiveResizeAttribute attribute (which I forgot to mention before) to get live resizing.

I use both flags and am not entirely convinced that I'm getting fewer BoundsChanging during live resize -- AFAICT kWindowAsyncDragAttribute does not affect the behaviour of resizing, only of dragging. The downside is that you cannot control what happens during the drag: if you need to constrain your window to some area or snap it to the screen edges, the async attribute won't let you do that.

On 7C107 at least in my app the resize still happens in "real time" with both flags on...

Dario
_______________________________________________
carbon-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/carbon-development
Do not post admin requests to the list. They will be ignored.

References: 
 >Live content questions (From: Erik Dahlstrom <email@hidden>)
 >Re: Live content questions (From: Erik Dahlstrom <email@hidden>)
 >Re: Live content questions (From: David Duncan <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.