ITextStoreACPSink::OnSelectionChange method

Syntax


HRESULT OnSelectionChange();

Parameters

This method has no parameters.

Return value

This method can return one of these values.

ValueDescription
S_OK

The method was successful.

TS_E_NOLOCK

The manager holds a lock on the document.

 

Remarks

ITextStoreACPSink::OnSelectionChange is never called when the selection is modified by one of the ITextStoreACP interface methods, such as ITextStoreACP::SetSelection or ITextStoreACP::InsertTextAtSelection.

When calling this method, the application must be able to grant a document lock.

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

ITextStoreACPSink
ITextStoreACP
ITextStoreACP::SetSelection
ITextStoreACP::InsertTextAtSelection
Document Locks

 

 

Show: