This topic has not yet been rated - Rate this topic

ITfThreadMgrEventSink::OnSetFocus method

Applies to: desktop apps only

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 this 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 on Windows 2000 Professional

Header

Msctf.h

IDL

Msctf.idl

DLL

Msctf.dll

See also

ITfThreadMgrEventSink
ITfThreadMgr::SetFocus

 

 

Send comments about this topic to Microsoft

Build date: 2/15/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ