Condividi tramite


COleControlSite::FreezeEvents

Specifies whether the control site will handle or ignore events fired from a control.

void FreezeEvents( 
   BOOL bFreeze  
);

Parameters

  • bFreeze
    Specifies whether the control site wishes to stop accepting events. Nonzero if the control is not accepting events; otherwise zero.

Remarks

If bFreeze is TRUE, the control site requests the control to stop fring events. If bFreeze is FALSE, the control site requests the control to continue firing events.

Note

The control is not required to stop firing events if requested by the control site. It can continue firing but all subsequent events will be ignored by the control site.

Requirements

Header: afxocc.h

See Also

Reference

COleControlSite Class

Hierarchy Chart