locked
Which interface should my metro input method editor of tsf inherit from?

    Question

  • In desktop, I counld implement interface of ITfInputProcessor in my tsf inputmethod? However, the ITfInputProcessor is not supported in Metro what can I do?
    Tuesday, May 22, 2012 5:46 AM

All replies

  • Hello,

     

    The IME must be TSF-aware in order to be able to run in Windows 8 Consumer Preview. Windows 8 Consumer Preview blocks non-TSF-aware IMEs from running in Metro style apps. When an app is started, TSF loads the IME .dll for the IME that the user has selected into the application process.

     

    Note  To provide separate functionality or UIs between Metro style apps and desktop apps, the .dll loaded by TSF can check which type of app it is being loaded into. The IME calls the ITfThreadMgrEx::GetActiveFlags method and checks the TF_TMF_IMMERSIVEMODE flag, and can trigger different application logic depending on the result.

     

    For more information, please check

    http://msdn.microsoft.com/en-us/library/hh848069(v=vs.85).aspx

     

    Best regards,

    Jesse


    Jesse Jiang [MSFT]
    MSDN Community Support | Feedback to us

    • Marked as answer by Jesse Jiang Friday, June 1, 2012 8:19 AM
    • Unmarked as answer by cybupt Tuesday, June 5, 2012 6:12 AM
    Wednesday, May 23, 2012 9:30 AM