CEdit::GetModify
Call this function to determine whether the contents of an edit control have been modified.
BOOL GetModify( ) const;
Возвращаемое значение
Nonzero if the edit-control contents have been modified; 0 if they have remained unchanged.
Заметки
Windows maintains an internal flag indicating whether the contents of the edit control have been changed. This flag is cleared when the edit control is first created and may 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 my edit has been modified.
if (m_myEdit.GetModify())
m_myEdit.SetModify(FALSE);
Требования
Header: afxwin.h