Syntax
HRESULT OnSetFocus(
[in] ITfDocumentMgr *pdimFocus,
[in] ITfDocumentMgr *pdimPrevFocus
);
Parameters
- pdimFocus [in]
-
Pointer to the document manager receiving the input focus. If no document is receiving the focus, this will be NULL.
- pdimPrevFocus [in]
-
Pointer to the document manager that previously had the input focus. If no document had the focus, this will be NULL.
Return Value
If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
| Client | Requires Windows XP, Windows 2000 Professional, or Windows NT Workstation. |
| Redistributable | Requires TSF 1.0 on Windows NT 4.0, Windows 2000 Professional and Windows MeWindows 98. |
| Header | Declared in Msctf.idl and Msctf.h. |
| DLL | Requires Msctf.dll. |
See Also
ITfThreadMgrEventSink
ITfThreadMgr::SetFocus
Send comments about this topic to Microsoft
Build date: 12/17/2008