DM_EDITUNCHANGEDFLAG

Far Manager

DM_EDITUNCHANGEDFLAG

The DM_EDITUNCHANGEDFLAG message allows to control the state of the "unchanged text" flag for edit boxes.

Param1

The ID of the dialog item for which the operation is performed.

Param2

One of the following values:
-1 - get the current value of the flag for an edit box;
0 - clear the "unchanged text" flag;
1 - set the "unchanged text" flag.

Return

Previous state of the "unchanged text" flag.

Controls

ControlDescription
DI_COMBOBOX combined list (without DIF_DROPDOWNLIST flag set)
DI_EDIT edit line
DI_FIXEDIT fixed-size input field
DI_PSWEDIT password input field

Remarks

  1. When the dialog is initialized, the "unchanged text" flag is set for all items mentioned above, except for DI_FIXEDIT.
  2. This message also clears the selection for the edit box for which it is called.
See also: