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
| Minimum supported client | Windows 2000 Professional |
| Minimum supported server | Windows 2000 Server |
| Redistributable | TSF 1.0 onWindows NT 4.0,Windows 2000 ProfessionalandWindows MeWindows 98 |
| Header | Msctf.idl and Msctf.h |
| DLL | Msctf.dll |
See Also
- ITfThreadMgrEventSink
-
ITfThreadMgr::SetFocus
Send comments about this topic to Microsoft
Build date: 7/14/2009