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: searching events for Appearance




On Aug 29, 2007, at 1:20 PM, eric b wrote:

Hi,

I recently discovered a very interesting event type: kEventAppearanceScrollBarVariantChanged.

We use it when the user has modified the scrollbar type in in the preferences, and this event helps us to update in runtime the frame containing a scrollbar. Really usefull :-)

Now,I have two questions:

First,do other kEventAppearance(whatever) events exist ? I have grep'ed all the doc , all headers, and so far, .. if found nothing :-/

No, there are no other Carbon events, but there are AppleEvents; see the top of Appearance.h.


As summary: we know how read the color we need, but how retrieve the information when the "Contrast Color" has been modified ? A kEventAppearance_something would be ... perfect :-)

I think you can use an AppleEvent handler for kAppearanceEventClass/ kAEAppearanceChanged.


-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: 
 >searching events for Appearance (From: eric b <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.