ITfThreadMgrEventSink::OnSetFocus Method

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 clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
RedistributableTSF 1.0 onWindows NT 4.0,Windows 2000 ProfessionalandWindows MeWindows 98
HeaderMsctf.idl and Msctf.h
DLLMsctf.dll

See Also

ITfThreadMgrEventSink
ITfThreadMgr::SetFocus

Send comments about this topic to Microsoft

Build date: 7/14/2009

Tags :


Page view tracker