COleControl::WillAmbientsBeValidDuringLoad
Determines whether your control should use the values of ambient properties as default values, when it is subsequently loaded from its persistent state.
BOOL WillAmbientsBeValidDuringLoad( );
Возвращаемое значение
Nonzero indicates that ambient properties will be valid; otherwise ambient properties will not be valid.
Заметки
In some containers, your control may not have access to its ambient properties during the initial call to the override of COleControl::DoPropExchange. This is the case if the container calls IPersistStreamInit::Load or IPersistStorage::Load prior to calling IOleObject::SetClientSite (that is, if it does not honor the OLEMISC_SETCLIENTSITEFIRST status bit).
Требования
Header: afxctl.h