GEOS SDK TechDocs
|
|
3.1 Passing Data with a GenTrigger
|
3.3 Interpreting Double-Clicks
ATTR_GEN_TRIGGER_INTERACTION_COMMAND
A GenTrigger may perform special actions within a GenInteraction object. The
ATTR_GEN_TRIGGER_INTERACTION_COMMAND attribute sets the special activity for these types of triggers. This attribute indicates that the GenTrigger is an Interaction command trigger for the parent GenInteraction object. ATTR_GEN_TRIGGER_INTERACTION_COMMAND takes a word of data (of type
InteractionCommand
) specifying the command type of the trigger. A trigger with an
InteractionCommand
can perform one of several standard actions. Most of these actions are specific to dialog boxes.
The
InteractionCommand
types are
InteractionCommand
.
InteractionCommand
trigger marked with GA_SIGNAL_INTERACTION_COMPLETE). You should never set any triggers to this
InteractionCommand
. If you wish a trigger to exhibit this behavior, set its GI_
attrs
field to include GA_SIGNAL_INTERACTION_COMPLETE. (See the GenClass chapter.)
IC_APPLY This command instructs the UI to apply any properties within a GIT_PROPERTIES Interaction. By default, this trigger will send out a
MSG_GEN_APPLY
.
MSG_GEN_RESET
within that handler.
In most cases, you should not provide a visual moniker for any triggers with an
InteractionCommand
; the specific UI will select an appropriate moniker. (You may supply a moniker if you wish to override the specific UI's selection, however.)
Activating an ATTR_GEN_TRIGGER_INTERACTION_COMMAND trigger will cause the UI to send MSG_GEN_GUP_INTERACTION_COMMAND to the trigger itself. This message will travel up to the appropriate GenInteraction object, where it will be handled.
This activity only occurs if both the trigger's destination and its action message fields are null, however. If these fields are non-null (specifying your own action message and destination), the sending of the
InteractionCommand
will be overridden. You may want to do this to replace the default functionality of a Specific UI-supplied trigger. For complete usage of an
InteractionCommand
trigger within a GenInteraction object, see the GenInteractionClass chapter.
GEOS SDK TechDocs
|
|
3.1 Passing Data with a GenTrigger
|
3.3 Interpreting Double-Clicks