GetModify
Determines if the contents of this RichEdit control have changed since the last save.
BOOL GetModify( )
Nonzero if the text in this RichEdit control has been modified; otherwise 0.
Remarks
Call this function to determine if the contents of this RichEdit
control have been modified. Window maintains an internal flag
indicating whether the contents of the rich edit control
have been changed. This flag is cleared when the edit control
is first created and can also be cleared by calling the
SetModify member function.
EX1
#include <..\OriginLab\DialogEx.h> #define IDC_RICHEDIT1 1001 void RichEdit_GetModify(Dialog& EditBoxes) { RichEdit richEdit = EditBoxes.GetItem(IDC_RICHEDIT1); BOOL bModify = richEdit.GetModify(); }
Control.h