Help Center

CRichEditCtx.Freezemethod

Increments the freeze count.

Windowsmethoddocumented

Syntax

FUNCTION Freeze () AS LONG

Return value

The updated freeze count.

Description

Increments the freeze count.

Remarks

If the freeze count is nonzero, screen updating is disabled. This allows a sequence of editing operations to be performed without the performance loss and flicker of screen updating. To decrement the freeze count, call the Unfreeze method.

Reference

  • Defined in AfxNova/CRichEditCtx.inc:4406
  • Documented in Windows/WIndows Controls/RichEdit/CRichEditCtx Class.md
  • Topic: CRichEditCtx Class