IME is on when win32 application runs

Rer 80 Reputation points

IME is on when my application starts running.

I need to get key inputs from WM_KEYDOWN message, and it fails when IME is on.

I hope to have a solution to turn off IME initially.

(My IME: Simplfied Chinese)

Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,412 questions
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,520 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Castorix31 81,466 Reputation points

    There is : ImmDisableIME

    1 person found this answer helpful.
    0 comments No comments