ITextHost::TxInvalidateRect method

Specifies a rectangle for the text host to add to the update region of the text host window.

Syntax


void TxInvalidateRect(
  [in] LPCRECT prc,
  [in] BOOL    fMode
);

Parameters

prc [in]

Type: LPCRECT

The invalid rectangle.

fMode [in]

Type: BOOL

Specifies whether the background within the update region is to be erased when the update region is processed. If this parameter is TRUE, the background is erased when the BeginPaint function is called. If this parameter is FALSE, the background remains unchanged.

Return value

This method has no return value.

Remarks

This function may be called while inactive; however, the host implementation is free to invalidate an area greater than the requested RECT.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Textserv.h

DLL

Msftedit.dll

See also

ITextHost
Windowless Rich Edit Controls Overview

 

 

Show: