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.
The ITfThreadMgr defines the primary object implemented by the TSF manager. ITfThreadMgr is used by applications and text services to activate and deactivate text services, create document managers, and maintain the document context focus.
The ITfThreadMgr interface inherits from the IUnknown interface. ITfThreadMgr also has these types of members:
The ITfThreadMgr interface has these methods.
ITfThreadMgr::Activate ITfThreadMgr::Activate method |
ITfThreadMgr::AssociateFocus ITfThreadMgr::AssociateFocus method |
ITfThreadMgr::CreateDocumentMgr ITfThreadMgr::CreateDocumentMgr method |
ITfThreadMgr::Deactivate ITfThreadMgr::Deactivate method |
ITfThreadMgr::EnumDocumentMgrs ITfThreadMgr::EnumDocumentMgrs method |
ITfThreadMgr::EnumFunctionProviders ITfThreadMgr::EnumFunctionProviders method |
ITfThreadMgr::GetFocus ITfThreadMgr::GetFocus method |
ITfThreadMgr::GetFunctionProvider ITfThreadMgr::GetFunctionProvider method |
ITfThreadMgr::GetGlobalCompartment ITfThreadMgr::GetGlobalCompartment method |
ITfThreadMgr::IsThreadFocus ITfThreadMgr::IsThreadFocus method |
ITfThreadMgr::SetFocus ITfThreadMgr::SetFocus method |
An application obtains a pointer to this interface by calling CoCreateInstance with CLSID_TF_ThreadMgr as demonstrated below.
A text service receives a pointer to this interface in its ITfTextInputProcessor::Activate method.
HRESULT hr;
ITfThreadMgr* pThreadMgr;
hr = CoCreateInstance( CLSID_TF_ThreadMgr,
NULL,
CLSCTX_INPROC_SERVER,
IID_ITfThreadMgr,
(void**)&pThreadMgr);
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | msctf.h |
Redistributable | TSF 1.0 on Windows 2000 Professional |
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