EM_SETMODIFY (Compact 2013)

3/28/2014

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_GETMODIFY message 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

See Also

Reference

Edit Box Messages
EM_GETMODIFY