dlg_action_tile

dlg_action_tile

int dlg_action_tile (sds_hdlg handle, wchar_t *key, void *expression);


Respond when the user clicks a dialog box tile.


This function assigns the expression to evaluate when the user selects the tile referenced by key.

The key argument refers to the tile. (In this case, the tile is a user-selectable element of a dialog box, such as radio button, check box, or button.)

The handle argument is the name of the dialog box.

The expression is a pointer to a function called when the tile is selected:

Argument Meaning
$value Current value.
$key Tile name.
$data Application specific data.
$reason Callback reason.
$x Image x-coordinate.
$y Image y-coordinate.

The function returns RTNORM if successful; otherwise, it returns an error code.

NOTE  The expression assigned by dlg_action_tile overrules the default action of the dialog box (which is assigned by the dlg_new_dialog function) and the tile's action attribute.

Tell me about...

dlg_client_data_tile

dlg_new_dialog

Programming Overview of DCL (Dialog Control Language)

Programming Overview of SDS (Solutions Development System)