CTextDocument2.AttachMsgFiltermethod
Attaches a new message filter to the edit instance. All window messages that the edit instance receives are forwarded to the message filter.
No implementation located. This member is documented, but the source scan found no matching declaration. It is likely declared in a header this scan does not resolve, or provided by a macro.
Syntax
FUNCTION AttachMsgFilter (BYVAL pFilter AS IUnknown PTR) AS HRESULT
Parameters
| Name | Description | |
|---|---|---|
pFilter | The message filter. |
Return value
If the method succeeds, it returns NOERROR. Otherwise, it returns an HRESULT error code.
Description
Attaches a new message filter to the edit instance. All window messages that the edit instance receives are forwarded to the message filter.
Remarks
The message filter must be bound to the document before it can be used.
Reference
- Documented in Windows/WIndows Controls/RichEdit/CTextDocument2 Class.md
- Topic: CTextDocument2 Class