Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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,
  [inconst 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.

ValueDescription
S_OK

The method was successful.

E_INVALIDARG

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

Textstor.h

IDL

Textstor.idl

DLL

Msctf.dll

See also

ITextStoreAnchorSink
ITextStoreAnchor::FindNextAttrTransition
ITextStoreAnchor::RequestAttrsAtPosition
ITextStoreAnchor::RequestAttrsTransitioningAtPosition
ITextStoreAnchor::RequestSupportedAttrs

 

 

Show:
© 2018 Microsoft