SetModify
Sets or clears the modification flag for this RichEdit control.
void SetModify( BOOL bModified = TRUE )
void
Remarks
Call this function to set or clear the modified flag for an edit control.
The modified flag indicates whether or not the text within the edit control
has been modified. It is automatically set whenever the user changes the text.
Its value can be retrieved with the GetModify member function.
EX1
#include <..\OriginLab\DialogEx.h> #define IDC_RICHEDIT1 1001 void RichEdit_SetModify(Dialog& EditBoxes) { RichEdit richEdit = EditBoxes.GetItem(IDC_RICHEDIT1); richEdit.SetModify(); }
Control.h