Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

This message sets or clears the modification flag for an edit control. The modification flag indicates whether the user modified the text within the edit control. The OS sets this flag automatically whenever the user changes the text. Send an EM_GETMODIFYmessage to retrieve the value of the modification flag.

Syntax

EM_SETMODIFY 

wParam = (WPARAM)(UINT) 
fModified; 

lParam = 0;

Parameters

fModified

Boolean value that specifies the new value for the modification flag. A value of TRUE indicates the text has been modified, and a value of FALSE indicates it has not been modified.

lParam

Not used; set to 0.

Return Value

None.

Requirements

Header windows.h
Windows Embedded CE Windows CE 1.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also