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: HIToolbars without a standard event handler




On Nov 10, 2005, at 10:18 AM, Tomas Franzén wrote:

A few specific questions:
1. What kind of events should I catch? I tried kEventControlClick, but that didn't do it. (maybe I did it incorrectly)
2. Should I register the event for the window or for the toolbar itself somehow, or for something else?
3. What should the event handler do? I suppose HandleControlClick might be in the right direction?

Currently, we have no specific answers for you. All of our testing for HIToolbar assumes the presence of the standard window event handler, so we really don't have a list of exactly which events are needed, or how to handle them. We've never tried to write an app ourselves that uses HIToolbox without using the standard event handler. It is our recommendation that you always use the standard window event handler if you are using an HIToolbar.


In short, it should be possible, but right now you're on your own.

sorry,
-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: 
 >Re: HIToolbars without a standard event handler (From: Laurence Harris <email@hidden>)
 >Re: HIToolbars without a standard event handler (From: Tomas Franzén <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.