A community member has associated this post with a similar question:
Programatically turn on/off Japanese IME Kana/Romaji input mode

Only moderators can edit this content.

How to programmatically turn on/off Japanese IME Kana/Romaji input mode?

CHAN Samuel 20 Reputation points
2024-10-03T02:36:33.8066667+00:00

We are developing a WPF application with Japanese text input supports. We are able to set the textbox to accept Japanese Hiragana input by calling SetPreferredImeConversionMode.

InputMethod.SetPreferredImeConversionMode(ImeConversionModeValues.Native)

However, our application is also required to turn on/off Kana/Romaji input programmatically. It is equivalent to the options in the Japanese IME Taskbar

User's image

Are there any Win32 APIs we can use to toggle this input mode? We are unable to find anything online.

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,180 questions
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,650 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
11,002 questions
{count} votes