# DM_GETEDITPOSITION

The DM_GETEDITPOSITION message is sent to the dialog manager to get the cursor position and state in edit controls.

### Param1

Dialog item ID

### Param2

Pointer to a EditorSetPosition structure.

### Return

FALSE - the given dialog item ID is not an edit control.
TRUE - the EditorSetPosition structure was filled.

### 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_GETCURSORPOS| DM_SETCURSORPOS| DM_SETEDITPOSITION