How can I use Input Method Manager to work with IME?

thebluetropics 1,046 Reputation points

I am trying to create a Rich-Text control on a Win32 application, but I uses Direct2D as the graphics.
So I will re-implement such thing from the beginning. Note that standard edit control does not meet my requirements.

What I am trying to do is:

  • Communicate with IME
  • Trigger/Hide IME dropdown
  • Move the IME dropdown to a point
  • Work with IME

What I want to know is:

  • Can we create a custom IME dropdown? Or we may only use existing IME dropdown?

Of course, I have read Microsoft Learn: Input Method Manager, Using Input Method Editor in a Game

I don't understand much about C++ and Win32 development, can I get simplified example of how to work with IME?

Regards, @thebluetropics .

A short note: The "IME dropdown" is refer to this stuff:


The "IME dropdown" can also be referred as candidate window

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,476 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,596 questions
{count} vote