# DM_GETSELECTION

The DM_GETSELECTION message is sent to the dialog handler to retrieve selection parameters in dialog edit lines.

### Param1

Dialog item ID.

### Param2

Pointer to a EditorSelect structure, where dialog manager will put the information about selection in edit line.

### Return

FALSE is returned if the item ID is not a line editor.
TRUE is returned if the EditorSelect structure contains selection parameters.

### Controls

Control | Description
--- | ---
DI_COMBOBOX | combined list
DI_EDIT | edit line
DI_FIXEDIT | fixed-size input field
DI_PSWEDIT | password input field

### Remarks

### Example

See also:
DialogEx | DM_SETSELECTION