I did this as well. I think I also installed a handler to handle the
case of the escape key being hit. It was odd that the little x itself
seemed to have no default behaviour even though the expected
behaviour of clicking the little x seems to be the same across
applications.
Ack, at 6/12/06, B.J. Buchalter said:
For catching the little (x), it turns out that this just generates it's own
event {kEventClassSearchField, kEventSearchFieldCancelClicked}, and does not
change the text in any way. So I just add a handler for this event on the
control, and empty the field on the event and notify my clients.
--
Sincerely,
Rosyna Keller
Technical Support/Holy Knight/Always needs a hug
Unsanity: Unsane Tools for Insanely Great People
It's either this, or imagining Phil Schiller in a thong.
_______________________________________________
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