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: No kEventWindowUpdate events during menu tracking?




On Apr 8, 2008, at 4:37 AM, Stefan Haller wrote:
I have a timer that calls InvalWindowRect; during menu tracking this
timer runs, but the window doesn't update because it doesn't seem to be
getting kEventWindowUpdate events. Why is this?

Because the Menu Manager is running a nested event loop during menu tracking to track the mouse and keyboard, and kEventWindowUpdate is not one of the events that we pull from the event queue, or dispatch.


If your windows used compositing mode, you would automatically get requests to draw your views during menu tracking, however.

-eric

_______________________________________________
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
References: 
 >No kEventWindowUpdate events during menu tracking? (From: email@hidden (Stefan Haller))



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.