CRichEditCtrl::GetModify
Determines if the contents of this CRichEditCtrl object have been modified.
BOOL GetModify( ) const;
Возвращаемое значение
Nonzero if the text in this CRichEditCtrl object has been modified; otherwise 0.
Заметки
Windows 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.
For more information, see EM_GETMODIFY in the Windows SDK.
Пример
// Reset the modified state only if the text has been modified.
if (m_myRichEditCtrl.GetModify())
m_myRichEditCtrl.SetModify(FALSE);
Требования
Header: afxcmn.h