Partager via


COleControl::SetModifiedFlag

Changes the modified state of a control.

void SetModifiedFlag( 
   BOOL bModified = TRUE  
);

Parameters

  • 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.

Remarks

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.

Requirements

Header: afxctl.h

See Also

Reference

COleControl Class

Hierarchy Chart

COleControl::IsModified