Condividi tramite


IOleControlImpl::FreezeEvents

In ATL's implementation, FreezeEvents increments the control class's m_nFreezeEvents data member if bFreeze is TRUE, and decrements m_nFreezeEvents if bFreeze is FALSE.

HRESULT FreezeEvents( 
   BOOL bFreeze  
);

Remarks

FreezeEvents then returns S_OK.

See IOleControl::FreezeEvents in the Windows SDK.

Requirements

Header: atlctl.h

See Also

Reference

IOleControlImpl Class

CComControlBase::m_nFreezeEvents