Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
tracking a scroll bar
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

tracking a scroll bar



What's the right way to handle a scroll bar control? If I install a handler for kEventClassControl/kEventControlHit, then single clicks on the scroll arrows work right, but it does not auto-repeat if you click and hold. I'd expect that I would need to handle kEventControlTrack, except that the header comments on kEventControlTrack say that "Control Manager’s normal tracking logic... is good enough for ... controls with simple indicators (such as scroll bars and sliders)." (I have the live tracking of the indicator working, no need to tell me about that.)
--
James W. Walker, Innoventive Software LLC
<http://www.frameforge3d.com/>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

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 © 2011 Apple Inc. All rights reserved.