AppearanceLib - REALbasic plugin
© 1998-2004 Einhugur Software - All Rights Reserved.
E-mail support@einhugur.com
Web Site http://www.einhugur.com/
Version 2.9
Compatible PPC - Carbon.
Requirements REALbasic 2.1 or later.
Dependencies TypeLib 3.3 or newer.
AppearanceLib is not a control, it has no interface. ApperanceLib is a REALbasic plugin to access some MacOS ApperanceLib functions from REALbasic.
Please note that this plugin is prowided as additional support to our users, it is not one of our primary products, and it only wraps MacOS operating system calls, therefore support for AppearanceLib is limited, and some portions of it are undocumented.
Information about undocumented functions can be found in the Apple on line documentation at the Apple website.
Information about syntax can be only viewed by reading the RB Plugin Plunger documentation that is built into the plugin.
Agreement
This product is a commercial software, only registered users are allowed to use it.
Einhugur Software will disable all serial numbers found on Internet and all serial numbers of decoded plugins that have illegally been posted on Internet.
Einhugur Software and the author, are in no way responsible for the bugs that might be found in this product. However, Einhugur Software will do its best to fix the bugs.
Officially we only support versions noted above and up to current official (not alpha or beta versions) version of REALbasic at the date of when this plugin is published. We cannot predict what changes might come in future versions of REALbasic.
Einhugur Website:
http://www.einhugur.com/index.html
-----------------------------------------------------------------------------
Gestalt constants to be used with Apperance manager:
Selector
appr:
The Gestalt selector passed to
determine whether the Appearance
Manager is present. Produces a
32-bit value whose bits you should
test to determine which Appearance
Manager features are available.
If bit 0 is set, Appearance Manager
functions are available. To determine
which version of the Appearance Manager
is installed, check for the presence of
the Gestalt selector apvr (see below).
If this bit is not set, Appearance
Manager functions are not available.
If bit 1 is set, systemwide platinum
appearance is off, turning off auto-
mapping of standard System 7 definition
functions to their Mac OS 8 equivalents
(for those applications that have not
called RegisterAppearanceClient). If this
bit is not set, systemwide platinum
appearance is on, causing auto-mapping
of standard System 7 deÞnition functions
to their Mac OS 8 equivalents for all
applications.
apvr:
To determine which version of the
Appearance Manager is installed, your
application should check for the presence
of the Gestalt selector apvr.
The Gestalt selector passed to determine
which version of the Appearance Manager
is installed. If this selector exists,
Appearance Manager 1.0.1 (or later) is
installed; the version number of the
currently installed Appearance Manager
is returned in the low-order word of
the result in BCD format (for example,
version 1.0.1 would be 0x0101). If this
selector does not exist but appr
does, Appearance Manager 1.0 is
installed.
Result codes:
0 No error
Ð50 Error in parameter list
Ð108 Not enough memory
Ð30560 Invalid brush color constant
Ð30561 Application already registered as Appearance
Manager client.
Ð30562 Application not registered as Appearance
Manager client.
Ð30563 Invalid text color constant.
Ð30564 Theme does not support accent colors.