Article # 151, added by Geoworks, historical record
| first | previous | index | next | last |

GenTriggers and IC_XXXX (InteractionCommands)




Using ATTR_GEN_TRIGGER_INTERACTION_COMMAND and GenTriggers:

1/  ATTR_GEN_TRIGGER_INTERACTION_COMMAND only works on a GenTrigger
    if BOTH GTI_destination AND GTI_actionMsg are NOT SET.

    If either is set, the ATTR_GEN_TRIGGER_INTERACTION_COMMAND will be
    ignored.

2/  Each GenTrigger in a single dialog box must use a unique
    InteractionCommand.  I.e., you cannot have two triggers in
    a single dialog box both return IC_DISMISS.

3/  If you want two triggers to return the same InteractionCommand,
    set ATTR_GEN_TRIGGER_INTERACTION_COMMAND = {IC_XXXX} on one,
    and have the other send a message, whose method sends MSG_GEN_GUP_-
    INTERACTION_COMMAND(IC_DISMISS) back to the dialog.