Edit_SetModify macro

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

No return value.

Remarks

For more information, see EM_SETMODIFY.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Windowsx.h

 

 

Show: