Export (0) Print
Expand All
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

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.