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

thebluetropics 1,046 Reputation points
2022-10-23T12:52:22.85+00:00

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:

ime-dropdown.png

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,523 questions
C++
C++
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,636 questions
{count} vote