How to disable Autocorrect RRS feed

  • Question

  • Hello MSDN,

    How can I disable autocorrect in a program. I am developing for Mobile 6.5, MFC, and C++.



    Thursday, December 15, 2011 12:56 PM

All replies

  • Hello,


    Which SIP did you used? Maybe you can try to change the Input mode to disable autocorrect.  You can try this API to change the input mode

    Edit_SetInputMode like:


    Edit_SetInputMode(hEditPassWord , EIM_AMBIG);


    Best regards,


    Jesse Jiang [MSFT]
    MSDN Community Support | Feedback to us
    Monday, December 19, 2011 6:32 AM
  • Hello Jesse,

    Thank you for your response. I think this is the right approach but the code I tried did not disable auto-correct. I may not be using the following code correctly.

     CWnd* pWndx = GetDlgItem(IDC_EDIT1);
     Edit_SetInputMode (pWndx->m_hWnd, EIM_AMBIG);
     GetDlgItem(IDC_EDIT1)->ShowWindow(SW_SHOW); // Data enter window

    Please advise,


    Monday, December 19, 2011 6:58 PM