ITextStoreAnchorSink::OnAttrsChange method
The ITextStoreAnchorSink::OnAttrsChange method is called when the value of one or more text attributes changes.
Syntax
HRESULT OnAttrsChange( [in] IAnchor *paStart, [in] IAnchor *paEnd, [in] ULONG cAttrs, [in] const TS_ATTRID *paAttrs );
Parameters
- paStart [in]
-
Pointer to the start anchor of the range of text that has the attribute change.
- paEnd [in]
-
Pointer to the end anchor of the range of text that has the attribute change.
- cAttrs [in]
-
Specifies the number of attributes in the paAttrs array.
- paAttrs [in]
-
Pointer to an array of TS_ATTRID values that identify the attributes changed.
Return value
This method can return one of these values.
| Value | Description |
|---|---|
|
The method was successful. |
|
One or more parameters are invalid. |
Requirements
|
Minimum supported client |
Windows 2000 Professional [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server |
Windows 2000 Server [desktop apps | Windows Store apps] |
|
Redistributable |
TSF 1.0 on Windows 2000 Professional |
|
Header |
|
|
IDL |
|
|
DLL |
|
See also
- ITextStoreAnchorSink
- ITextStoreAnchor::FindNextAttrTransition
- ITextStoreAnchor::RequestAttrsAtPosition
- ITextStoreAnchor::RequestAttrsTransitioningAtPosition
- ITextStoreAnchor::RequestSupportedAttrs