This topic has not yet been rated - Rate this topic

ITextDocument::Freeze method

Increments the freeze count.

Syntax


HRESULT Freeze(
  long *pValue
);

Parameters

pValue

Type: long*

The updated freeze count.

Return value

Type: HRESULT

If the ITextDocument::Freeze count is nonzero, it returns S_OK. If the ITextDocument::Freeze count is zero, it returns FALSE.

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 ITextDocument::Unfreeze method.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Tom.h

DLL

Msftedit.dll

See also

Reference
ITextDocument
Unfreeze
BeginEditCollection
Conceptual
Text Object Model

 

 

Send comments about this topic to Microsoft

Build date: 10/27/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.