GEOS SDK TechDocs
|
|
3.4 Initiating an Action
|
3.6 Manipulating Instance Data
MSG_GEN_TRIGGER_MAKE_DEFAULT_ACTION
Often, a dialog box or other windowed generic object will have several triggers. You will likely want one of these triggers to be the default action--the default action is activated when the user double-clicks on some item in the dialog or when the user hits Return, typically. (Specific UIs can determine how the activation occurs.)
To set a trigger the default, use
HINT_DEFAULT_DEFAULT_ACTION
; this only works for the first time the trigger is created, though. To set a trigger to be the default action item dynamically, use the message
MSG_GEN_TRIGGER_MAKE_DEFAULT_ACTION
.
void MSG_GEN_TRIGGER_MAKE_DEFAULT_ACTION();
This message sets the trigger to be the default action in its windowed parent. It is the message equivalent of
HINT_DEFAULT_DEFAULT_ACTION
, defined in
GenClass
.
Source: Unrestricted.
Destination: Any GenTrigger object.
Interception: Generally not intercepted.
GEOS SDK TechDocs
|
|
3.4 Initiating an Action
|
3.6 Manipulating Instance Data