The global settings are set both in the "Workplace Shell" object and
on the "XDesktop" notebook page and are stored in the "XWorkplace" app
in OS2.INI
. All the global notebook logic is in src\shared\notebook.c
.
XWorkplace's code accesses these settings via a large structure called
GLOBALSETTINGS
(suprise!) defined in common.h
, to which a pointer be
obtained using cmnQueryGlobalSettings
(src\shared\common.c
).
By contrast, the individual object settings are stored in
instance data, which is declared in the .IDL
files. Most of these are
stored and retrieved using the normal WPS mechanism
(wpSaveDeferred
/wpRestoreData
) and can have
a certain "transparent"
value, which means that the global setting is to be used instead.