ITextHost::TxInvalidateRect method (textserv.h)
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
[in] prc
Type: LPCRECT
The invalid rectangle.
[in] fMode
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
None
Remarks
This function may be called while inactive; however, the host implementation is free to invalidate an area greater than the requested RECT.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Target Platform | Windows |
Header | textserv.h |
DLL | Msftedit.dll |