Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Called when the selection within the document changes.
Syntax
HRESULT OnSelectionChange();
Return value
This method can return one of these values.
| Value | Description |
|---|---|
|
The method was successful. |
|
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
| 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 |
| DLL | Msctf.dll |
| Redistributable | TSF 1.0 on Windows 2000 Professional |