Hide IME Window with WM_IME_SETCONTEXT not works. RRS feed

  • Question

  • Hello Guys,

    I'm developing a program, and it contains it's own IME window.

    So I use 

    DefWindowProcW(hWnd, WM_IME_SETCONTEXT, wParam, 0)

    which defines at MSDN


    The IMM sends a WM_IME_SETCONTEXT message when a window of the application is activated. The lParam parameter of this message contains a flag that indicates to the IME which windows should get drawn and which should not. Because the application is handling all of the drawing, it does not need the IME to draw any of the IME windows. Therefore, the application's message handler simply sets lParam to 0 and returns.

    But It doesn't work at Windows 10.

    It works at Windows 7 and 8.

    Is there any solutions or bugfix for this situation?

    Friday, August 5, 2016 5:28 PM


  • Hi,

    To help you better, I suggest you submit a new case on MSDN forum as they will be more professional on your issue:

    This is the MSDN forum link.

    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us.  Thank you for your understanding.

    Please remember to mark the replies as an answers if they help and unmark them if they provide no help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    • Marked as answer by Semoon Park Monday, August 8, 2016 8:57 AM
    Monday, August 8, 2016 8:23 AM