共用方式為


CComControlBase::SetDirty

Sets the data member m_bRequiresSave to the value in bDirty.

void SetDirty(
   BOOL bDirty 
);

Parameters

Remarks

SetDirty(TRUE) should be called to flag that the control has changed since it was last saved. The value of m_bRequiresSave is retrieved with CComControlBase::GetDirty.

Requirements

Header: atlctl.h

See Also

Reference

CComControlBase Class

Other Resources

CComControlBase Members