# DM_LISTSETTITLES

The DM_LISTSETTITLES message is sent to the dialog manager to set the titles (header and footer) of a DI_LISTBOX list.

### Param1

The ID of the dialog item for which the titles are set.

### Param2

Pointer to a FarListTitles, structure containing the titles to be set.

### Return

TRUE - titles have been set.
FALSE - the item is not a list.

### Controls

Control | Description
--- | ---
DI_LISTBOX | list

### Remarks

You must fill the FarListTitles structure before sending the message:

    FarListTitles ListTitle;
    ListTitle.Title="Some title";
    ListTitle.Bottom=NULL; // reset footer
    Info.SendDlgMessage(hDlg,DM_LISTSETTITLES,ID,(LONG_PTR)&ListTitle);

See also:
DialogEx, FarListTitles, DM_LISTGETTITLES