Edit_SetModify macro (windowsx.h)

Sets or clears the modification flag for an edit control. The modification flag indicates whether the text within the edit control has been modified. You can use this macro or send the EM_SETMODIFY message explicitly.

Syntax

void Edit_SetModify(
   HWND hwndCtl,
   BOOL fModified
);

Parameters

hwndCtl

Type: HWND

A handle to the control.

fModified

Type: BOOL

TRUE if the text has been modified; otherwise FALSE.

Return value

None

Remarks

For more information, see EM_SETMODIFY.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header windowsx.h