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: Track Control Carbon Event?



On 31/10/2003 22:17, Rune Lindman <email@hidden> wrote:

> How can I be notified using Carbon Events when tracking of a control begin
> and ends? I want to disable some threads while the user is scrolling or
> using a slider.
>
> For menus I use kEventMenuBeginTracking and kEventMenuEndTracking.

You can post (via PostEventToQueue) a custom event from timer and
do the actual job in event handler. This event will not be received
by handler while control is being tracked (or the menu is being
tracked for that matter). Do not post event if it is not yet handled
(to not post more than one event).

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



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.