Expand Minimize

ITfDocumentMgr interface

The ITfDocumentMgr interface is implemented by the TSF manager and used by an application or text service to create and manage text contexts. To obtain an instance of this interface call ITfThreadMgr::CreateDocumentMgr.

Members

The ITfDocumentMgr interface inherits from the IUnknown interface. ITfDocumentMgr also has these types of members:

Methods

The ITfDocumentMgr interface has these methods.

MethodDescription
CreateContext

Creates a context object.

EnumContexts

Obtains a context enumerator.

GetBase

Obtains the context at the base of the context stack.

GetTop

Obtains the context at the top of the context stack.

Pop

Removes the context from the top of the context stack.

Push

Adds a context to the top of the context stack.

 

Examples



HRESULT hr;
ITfDocumentMgr* pDocumentMgr;

hr = pThreadMgr->CreateDocumentMgr(&pDocumentMgr);


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

Msctf.h

IDL

Msctf.idl

DLL

Msctf.dll

See also

ITfContext
ITfThreadMgr::CreateDocumentMgr

 

 

Community Additions

ADD
Show:
© 2014 Microsoft