共用方式為


CComControlBase::m_bRequiresSave

Flag indicating the control has changed since it was last saved.

unsigned m_bRequiresSave:1;

Remarks

The value of m_bRequiresSave can be set with CComControlBase::SetDirty and retrieved with CComControlBase::GetDirty.

注意

To use this data member within your control class, you must declare it as a data member in your control class. Your control class will not inherit this data member from the base class because it is declared within a union in the base class.

Requirements

Header: atlctl.h

See Also

Reference

CComControlBase Class

Other Resources

CComControlBase Members