IOleControlImpl::FreezeEvents

This method increments the control class's m_nFreezeEvents data member if bFreeze is TRUE, and decrements m_nFreezeEvents if bFreeze is FALSE. FreezeEvents then returns S_OK.

Syntax

HRESULT FreezeEvents( BOOL bFreeze );

At a Glance

Header file: Atlctl.h
Platforms:
Versions: Version 2.0 and later
Complete documentation: Visual C++ documentation)

See Also

IOleControlImpl Overview, IOleControlImpl Methods, IOleControl::FreezeEvents, CComControl::m_nFreezeEvents