# DM_LISTUPDATE

The DM_LISTUPDATE message is sent to the dialog manager to update an element of a DI_COMBOBOX or DI_LISTBOX.

### Param1

The ID of the dialog item to be updated.

### Param2

Pointer to a FarListUpdatestructure specifying the element to update.

### Return

TRUE - the list element has been successfully updated.
FALSE - error updating data.

### Controls

Control | Description
--- | ---
DI_LISTBOX | list
DI_COMBOBOX | combined list

### Remarks

It is also possible to use the DM_SETTEXTPTR (or DM_SETTEXT) message to update the text of the current item of the DI_LISTBOX list.

### Example

See also:
DialogEx