GEOS SDK TechDocs
|
|
4.7 TitledGlyphClass
|
4.9 PrefDialogClass
If you have any Preferences objects which write out their values to the .INI file, and if you would normally have those objects appear under a GenInteraction, then you should have them appear under a PrefInteraction instead.
Objects of the class will forward the following messages on to their children:
MSG_PREF_INIT
,
MSG_PREF_SET_ORIGINAL_STATE
PrefClass
.
MSG_META_LOAD_OPTIONS
MSG_META_SAVE_OPTIONS
MSG_PREF_HAS_STATE_CHANGED
,
MSG_PREF_GET_REBOOT_INFOCode Display 22-9 PrefInteractionClass Instance Data
@class PrefInteractionClass, PrefClass;
@instance PrefInteractionAttrs PII_attrs = 0;
typedef ByteFlags PrefInteractionAttrs;
#define PIA_LOAD_OPTIONS_ON_INITIATE 0x80 /* If set, then the dialog will send MSG_PREF_INIT, * followed by MSG_META_LOAD_OPTIONS to itself when it * receives a MSG_GEN_INTERACTION_INITIATE */
#define PIA_SAVE_OPTIONS_ON_APPLY 0x40 /* This flag is normally OFF to allow non-dialog prefInteractions to reside inside * other interactions without duplicate SAVE_OPTIONS messages being sent. */
GEOS SDK TechDocs
|
|
4.7 TitledGlyphClass
|
4.9 PrefDialogClass