EM_SETMODIFY

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.

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 Values

None.

Requirements

OS Versions: Windows CE 1.0 and later.
Header: Windows.h.

See Also

EM_GETMODIFY | Edit Box Messages

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.