# DM_SETDLGITEM

The DM_SETDLGITEM message is sent to the dialog manager to change a specified dialog item.

### Param1

The ID of the dialog item that you want to change.

### Param2

Pointer to a FarDialogItem structure containing the new item data.

### Return

TRUE if the new dialog item data has been set successfully
FALSE if the item with such ID does not exist or the item type was changed.

### Controls

Control | Description
--- | ---
All | All dialog items

### Remarks

You can't change item type.
See also:
DialogEx