ITextStoreAnchorSink interface (textstor.h)

The ITextStoreAnchorSink interface is implemented by the TSF manager and is used by an anchor-based application to notify the manager when certain events occur. The manager installs this advise sink by calling ITextStoreAnchor::AdviseSink.

The interface ID is IID_ITextStoreAnchorSink.

Inheritance

The ITextStoreAnchorSink interface inherits from the IUnknown interface. ITextStoreAnchorSink also has these types of members:

Methods

The ITextStoreAnchorSink interface has these methods.

 
ITextStoreAnchorSink::OnAttrsChange

The ITextStoreAnchorSink::OnAttrsChange method is called when the value of one or more text attributes changes.
ITextStoreAnchorSink::OnEndEditTransaction

ITextStoreAnchorSink::OnEndEditTransaction method
ITextStoreAnchorSink::OnLayoutChange

The ITextStoreAnchorSink::OnLayoutChange method is called when the layout (on-screen representation) of the document changes.
ITextStoreAnchorSink::OnLockGranted

ITextStoreAnchorSink::OnLockGranted method
ITextStoreAnchorSink::OnSelectionChange

The ITextStoreAnchorSink::OnSelectionChange method is called when the selection within the text stream changes. This method should be called whenever the return value of a potential call to ITextStoreAnchor::GetSelection has changed.
ITextStoreAnchorSink::OnStartEditTransaction

ITextStoreAnchorSink::OnStartEditTransaction method
ITextStoreAnchorSink::OnStatusChange

ITextStoreAnchorSink::OnStatusChange method
ITextStoreAnchorSink::OnTextChange

ITextStoreAnchorSink::OnTextChange method

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps | UWP apps]
Minimum supported server Windows 2000 Server [desktop apps | UWP apps]
Target Platform Windows
Header textstor.h
Redistributable TSF 1.0 on Windows 2000 Professional

See also

Document Locks

ITextStoreAnchor

ITextStoreAnchor::AdviseSink

IUnknown

Text Stores