ITfThreadMgr::GetFocus method (msctf.h)
Returns the document manager that has the input focus.
HRESULT GetFocus(
[out] ITfDocumentMgr **ppdimFocus
);
[out] ppdimFocus
Pointer to a ITfDocumentMgr interface that receives the document manager with the current input focus. Receives NULL if no document manager has the focus.
This method can return one of these values.
Value | Description |
---|---|
|
The method was successful. |
|
No document manager has focus. ppdimFocus be set to NULL. |
|
ppdimFocus is invalid. |
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 |
DLL | Msctf.dll |
Redistributable | TSF 1.0 on Windows 2000 Professional |