# DIF_SELECTONENTRY

The contents of an edit box with the DIF_SELECTONENTRY flag set will be selected upon receiving input focus.

### Controls

The DIF_SELECTONENTRY flag is applicable to the following dialog items:

Control | Description
--- | ---
DI_COMBOBOX | Combo box.
DI_EDIT | Edit box.
DI_FIXEDIT | Fixed size edit box.
DI_PSWEDIT | Password edit box.

### Remarks

Selection in an edit box with the DIF_SELECTONENTRY flag will be cleared upon input focus loss.

See also: