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


COleControl::SetModifiedFlag

Changes the modified state of a control.

void SetModifiedFlag(
   BOOL bModified = TRUE 
);

Параметры

  • bModified
    The new value for the control's modified flag. TRUE indicates that the control's state has been modified; FALSE indicates that the control's state has just been saved.

Заметки

Call this function whenever a change occurs that would affect your control's persistent state. For example, if the value of a persistent property changes, call this function with bModified TRUE.

Требования

Header: afxctl.h

См. также

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

COleControl Class

COleControl Members

Hierarchy Chart

COleControl::IsModified