共用方式為


COleControl::OnFreezeEvents

Called by the framework after the container calls IOleControl::FreezeEvents.

virtual void OnFreezeEvents(
   BOOL bFreeze 
);

Parameters

  • bFreeze
    TRUE if the control's event handling is frozen; otherwise FALSE.

Remarks

The default implementation does nothing.

Override this function if you want additional behavior when event handling is frozen or unfrozen.

Requirements

Header: afxctl.h

See Also

Reference

COleControl Class

Hierarchy Chart

Other Resources

COleControl Members