| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
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 :-/ My second question is about hilighted color in combobox (e.g.). More precisely, our need is about the highlighted color in System Preferences -> Appearance. The item name is (sorry, english translation of French _expression_) "Contrast Color". Default is blue ( when nothing has been written in ~/Library/Preferences/.GlobalPreferences.plist ), ...and we want to modify the color _in_runtime_ ( currently, we must relaunch the application ) For that, we use a structure, containing a lot of datas we read from the system at launch time, and this allows us to just read the content in runtime. We simply retrieve the value from CFPreferencesCopyAppValue(), and the result is stored in the structure mentionned above. 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 :-) Thanks in advance for any suggestion -- ericb |
_______________________________________________ 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
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
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.