Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ITfThreadMgr::GetFocus method

Syntax


HRESULT GetFocus(
  [out]  ITfDocumentMgr **ppdimFocus
);

Parameters

ppdimFocus [out]

Pointer to a ITfDocumentMgr interface that receives the document manager with the current input focus. Receives NULL if no document manager has the focus.

Return value

This method can return one of these values.

ValueDescription
S_OK

The method was successful.

S_FALSE

No document manager has focus. ppdimFocus be set to NULL.

E_INVALIDARG

ppdimFocus is invalid.

 

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Redistributable

TSF 1.0 on Windows 2000 Professional

Header

Msctf.h

IDL

Msctf.idl

DLL

Msctf.dll

See also

ITfThreadMgr
ITfDocumentMgr
ITfThreadMgr::SetFocus
ITfThreadMgr::AssociateFocus

 

 

Community Additions

Show:
© 2014 Microsoft. All rights reserved.