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: interaction with enabled static text not calling my event procedure




On Mar 27, 2007, at 1:42 PM, Jeremy Sagan wrote:

Hello Eric,

Thanks that makes sense.

Why not instead then just add a function like "EnableCommandOnStaticTextItem(staticTextControl)"?

Some reasons:

- this is a rare case. Most developers don't need to enable commands from static text items. We prefer to add API for things that most developers need.
- it's easy for the developer to enable this themselves by installing a kEventControlHitTest handler. We prefer to add API for things that it's hard for a developer to do themselves.


-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: 
 >interaction with enabled static text not calling my event procedure (From: Jeremy Sagan <email@hidden>)
 >Re: interaction with enabled static text not calling my event procedure (From: Eric Schlegel <email@hidden>)
 >Re: interaction with enabled static text not calling my event procedure (From: Jeremy Sagan <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.