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: Attributes from a kEventWindowBoundsChanging



On 5/15/03 12:01 PM, John Cebasek didst favor us with:

> However, attributes is never kEventWindowBoundsChanged (which is 27),

The event is not an attribute.

> if I log the GetEventParameter, all I see is a 6 (which is deactivated?)
>
> Why would I never get a bounds changed message in the windows changing
> handler if I'm resizing a window. Or better yet, what's a '6'? It
> shouldn't be deactivated, should it???

6 = 2 + 4 = kWindowBoundsChangeUserResize | kWindowBoundsChangeSizeChanged

/*
* The bounds is changing because the user is resizing the window.
*/
kWindowBoundsChangeUserResize = (1 << 1),

/*
* The dimensions of the window (width and height) are changing.
*/
kWindowBoundsChangeSizeChanged = (1 << 2),


Larry
_______________________________________________
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: 
 >Attributes from a kEventWindowBoundsChanging (From: John Cebasek <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.