Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register todayThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Called when an existing composition is changed.
HRESULT OnUpdateComposition(
[in] ITfCompositionView *pComposition,
[in] ITfRange *pRangeNew
);
[in] pComposition
Pointer to an ITfCompositionView object that represents the composition updated.
[in] pRangeNew
Pointer to an ITfRange object that contains the range of text the composition will cover after the composition is updated.
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
To determine what has changed within the composition, compare pRangeNew with the range returned from ITfCompositionView::GetRange. The range returned by ITfCompositionView::GetRange is not updated until after ITfContextOwnerCompositionSink::OnUpdateComposition returns.
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 | msctf.h |
DLL | Msimtf.dll |
Redistributable | TSF 1.0 on Windows 2000 Professional |
ITfCompositionView interface, ITfContextOwnerCompositionSink interface, ITfCompositionView::GetRange, ITfRange interface
Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register today