Поделиться через


CEdit::SetModify

Call this function to set or clear the modified flag for an edit control.

void SetModify(
   BOOL bModified = TRUE 
);

Параметры

  • bModified
    A value of TRUE indicates that the text has been modified, and a value of FALSE indicates it is unmodified. By default, the modified flag is set.

Заметки

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 may be retrieved with the GetModify member function.

For more information, see EM_SETMODIFY in the Windows SDK.

Пример

See the example for CEdit::GetModify.

Требования

Header: afxwin.h

См. также

Основные понятия

CEdit Class

CEdit Members

Hierarchy Chart

CEdit::GetModify