GEOS SDK TechDocs
|
|
1.4 Attach and Launch Flags
|
1.6 Application Features and Levels
GAI_states, MSG_GEN_APPLICATION_GET_STATE, MSG_GEN_APPLICATION_SET_STATE, MSG_GEN_APPLICATION_SET_NOT_USER_INTERACTABLE, MSG_GEN_APPLICATION_SET_USER_INTERACTABLE, MSG_GEN_APPLICATION_SET_NOT_QUITTING, MSG_GEN_APPLICATION_SET_ATTACHED_TO_STATE_FILE, MSG_GEN_APPLICATION_SET_NOT_ATTACHED_TO_STATE_FILE
GAI_
states
stores the
ApplicationStates
of the application. By default, a GenApplication is both AS_FOCUSABLE and AS_MODELABLE, therefore enabling those hierarchies for this application. Only under extremely rare conditions will you alter this behavior. The flags of
ApplicationStates
are listed below:
MSG_META_GAINED_FULL_SCREEN_EXCL
and a
MSG_META_LOST_FULL_SCREEN_EXCL
.
MSG_META_DETACH
and is detaching.
MSG_META_ATTACH
).ApplicationStates MSG_GEN_APPLICATION_GET_STATE();
This message retrieves the current application state, stored in
GAI_states
.
Source: Rarely used.
Destination: Any GenApplication object.
Parameters: None.
Return: The
ApplicationStates
record stored in
GAI_states
.
Interception: Do not intercept.
void MSG_GEN_APPLICATION_SET_STATE(
ApplicationStates set,
ApplicationStates clear);
This message alters a GenApplication's GAI_
states
flags. This message should only be used to set flags that aren't set internally by the UI. Flags that can be altered are the AS_FOCUSABLE, AS_MODELABLE, AS_NOT_USER_INTERACTABLE and AS_AVOID_TRANSPARENT_DETACH state bits.
This message does not reject attempts to set internal bits; therefore, be careful in using this message and only use it to set the external bits mentioned above.
Source: Unrestricted. This message is also used internally.
Destination: Any GenApplication object.
Parameters:
set
ApplicationStates
to set.
ApplicationStates
to clear.Return: Nothing.
Warnings: Do not attempt to set any internal
ApplicationStates
bits with this message.
Interception: May intercept, but must pass to superclass at some point.
void MSG_GEN_APPLICATION_SET_NOT_QUITTING();
This message clears the AS_QUITTING bit in the application's GAI_
states
bitfield.
Source: Sent by the UI or the kernel.
Destination: A GenApplication object.
Interception: Do not intercept.
void MSG_GEN_APPLICATION_SET_NOT_USER_INTERACTABLE();
This message sets the AS_NOT_USER_INTERACTABLE flag in the application's
GAI_states
field.
Source: Infrequently used.
Destination: The GenApplication to be made not interactable.
Interception: Do not intercept.
void MSG_GEN_APPLICATION_SET_USER_INTERACTABLE();
This message clears the AS_NOT_USER_INTERACTABLE flag in the application's
GAI_states
field.
Source: Infrequently used.
Destination: The GenApplication to be made interactable.
Interception: Do not intercept.
void MSG_GEN_APPLICATION_SET_ATTACHED_TO_STATE_FILE();
This message sets the AS_ATTACHED_TO_STATE_FILE in the GenApplication's
GAI_states
field.
Source: Sent by the UI or the kernel.
Destination: The GenApplication object that has been attached to a state file.
Interception: Do not intercept.
void MSG_GEN_APPLICATION_SET_NOT_ATTACHED_TO_STATE_FILE();
This message clears the AS_ATTACHED_TO_STATE_FILE in the GenApplication's
GAI_states
field.
Source: Sent by the UI or the kernel.
Destination: The GenApplication object that has been detached to a state file.
Interception: Do not intercept.
GEOS SDK TechDocs
|
|
1.4 Attach and Launch Flags
|
1.6 Application Features and Levels