public HRESULT OnUninitDocumentMgr(ITfDocumentMgr pdim) { return(new HRESULT() { Code = 0 }); }
public HRESULT OnSetFocus(ITfDocumentMgr pdimFocus, ITfDocumentMgr pdimPrevFocus) { _compositionManager.Switch(pdimFocus, pdimPrevFocus); _candidateManager.SetDocumentMgr(pdimFocus); return(new HRESULT() { Code = 0 }); }
//------------------------------------------------------ // // public Events // //------------------------------------------------------ //------------------------------------------------------ // // Private Methods // //------------------------------------------------------ private void SetFocusOnDim(ITfDocumentMgr dim) { ITfThreadMgrEx threadmgr = ThreadManager; if (threadmgr != null) { ITfDocumentMgr prevDocMgr; threadmgr.AssociateFocus(InputMethod.WindowHandle, dim, out prevDocMgr); } }
HRESULT ITfThreadMgrEventSink.OnSetFocus(ITfDocumentMgr pdimFocus, ITfDocumentMgr pdimPrevFocus) { throw new NotImplementedException(); }
HRESULT ITfThreadMgrEventSink.OnUninitDocumentMgr(ITfDocumentMgr pdim) { throw new NotImplementedException(); }
public void SetDocumentMgr(ITfDocumentMgr pdimFocus) { throw new NotImplementedException(); }
public HRESULT GetDocumentMgr(out ITfDocumentMgr ppdim) { throw new NotImplementedException(); }
public void Switch(ITfDocumentMgr pdimFocus, ITfDocumentMgr tfDocumentMgr) { throw new NotImplementedException(); }
/// <summary> /// Init a text edit sink on the topmost context of the document. /// Always release any previous sink. /// </summary> /// <param name="pDocMgr"></param> /// <returns></returns> private bool _InitTextEditSink(ITfDocumentMgr pDocMgr) { throw new NotImplementedException(); }