Displaying furigana (phonetic readings of kanji characters) in textbox/richtextbox elements

1.1k Views Asked by At

How would I go about displaying furigana above kanji characters in a textbox based element?

I've tried looking extensively on the web for information regarding furigana display in Windows forms elements - there appears to be some implementation for Microsoft Access form controls, but these do not seem to be accessible in a non-Access project.

2

There are 2 best solutions below

0
On

ImmGetCompositionString is the method to get typed kana from IME ( http://www.atmarkit.co.jp/fdotnet/dotnettips/875imeyomi/imeyomi.html [ja])

If you are okay with the guessing furigana from already-converted kanji, you may use mecab or other library, but in that case, furigana are not always correct.

0
On

It sounds like you'd need to implement or otherwise extend the existing IME - check the solutions for this question:

Getting more data from the Japanese IME