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