Share via


Interfaz ITfThreadMgr (msctf.h)

ITfThreadMgr define el objeto principal implementado por el administrador de TSF. ITfThreadMgr se usa en aplicaciones y servicios de texto para activar y desactivar servicios de texto, crear administradores de documentos y mantener el foco del contexto del documento.

Herencia

La interfaz ITfThreadMgr hereda de la interfaz IUnknown . ITfThreadMgr también tiene estos tipos de miembros:

Métodos

La interfaz ITfThreadMgr tiene estos métodos.

 
ITfThreadMgr::Activate

Método ITfThreadMgr::Activate
ITfThreadMgr::AssociateFocus

Método ITfThreadMgr::AssociateFocus
ITfThreadMgr::CreateDocumentMgr

Método ITfThreadMgr::CreateDocumentMgr
ITfThreadMgr::D eactivate

ITfThreadMgr::D eactivate (método)
ITfThreadMgr::EnumDocumentMgrs

Método ITfThreadMgr::EnumDocumentMgrs
ITfThreadMgr::EnumFunctionProviders

Método ITfThreadMgr::EnumFunctionProviders
ITfThreadMgr::GetFocus

Método ITfThreadMgr::GetFocus
ITfThreadMgr::GetFunctionProvider

Método ITfThreadMgr::GetFunctionProvider
ITfThreadMgr::GetGlobalCompartment

Método ITfThreadMgr::GetGlobalCompartment
ITfThreadMgr::IsThreadFocus

Método ITfThreadMgr::IsThreadFocus
ITfThreadMgr::SetFocus

Método ITfThreadMgr::SetFocus

Comentarios

Una aplicación obtiene un puntero a esta interfaz llamando a CoCreateInstance con CLSID_TF_ThreadMgr como se muestra a continuación.

Un servicio de texto recibe un puntero a esta interfaz en su método ITfTextInputProcessor::Activate .

Ejemplos


HRESULT hr;
ITfThreadMgr* pThreadMgr;

hr = CoCreateInstance(  CLSID_TF_ThreadMgr, 
                        NULL, 
                        CLSCTX_INPROC_SERVER, 
                        IID_ITfThreadMgr, 
                        (void**)&pThreadMgr);

Requisitos

   
Cliente mínimo compatible Windows 2000 Professional [solo aplicaciones de escritorio]
Servidor mínimo compatible Windows 2000 Server [solo aplicaciones de escritorio]
Plataforma de destino Windows
Encabezado msctf.h
Redistribuible TSF 1.0 en Windows 2000 Professional

Consulte también

Cocreateinstance

ITfTextInputProcessor::Activate

IUnknown