dlg_start_list

int dlg_start_list (sds_hdlg handle, char *key, int value, int item);


Start processing a list box.


This function signals the start of processing a list key in a dialog box.

The handle argument is the name of the dialog box.

The key argument identifies the tile.

The optional value argument describes the list operation to be performed (default = 3):

Value Symbol Meaning
1 LIST_CHANGE Change contents of the list.
2 LIST_APPEND Append new data to the list.
3 LIST_NEW Replace the list with a new one (default).

The optional index argument is used only when operation = 1. It indicates the item # to be changed. The first item is #0; the second item is #1, etc.

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

Tell me about...

dlg_add_list

dlg_end_list

Programming Overview of SDS™ (Solutions Development System™)