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:34 PM, Jeremy Sagan wrote:

Hello Eric,

Thanks for the quick reply. I am trying to get a command ID in my event handler. Why does IB let you set a command ID that is never returned to the app. Is not that a bug?

Not really. IB lets you set a command ID for any type of view. Not all views will actually generate command events by default, and the static text control happens to be one of them. We actually tried to change the default behavior of the static text control in Tiger, but it broke lots of apps that assumed that the control wouldn't handle clicks, so we had to take it back out.


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