Click to Rate and Give Feedback
MSDN
MSDN Library
User Interface
TSF Reference
TSF Interfaces
 ITfThreadMgrEventSink::OnSetFocus M...

  Switch on low bandwidth view
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

ClientRequires Windows XP, Windows 2000 Professional, or Windows NT Workstation.
RedistributableRequires TSF 1.0 on Windows NT 4.0, Windows 2000 Professional and Windows MeWindows 98.
HeaderDeclared in Msctf.idl and Msctf.h.
DLLRequires Msctf.dll.

See Also

ITfThreadMgrEventSink
ITfThreadMgr::SetFocus


Send comments about this topic to Microsoft

Build date: 12/17/2008

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker