Ephemeralis
Ephemeralis

Reputation: 199

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

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.

Upvotes: 1

Views: 1250

Answers (2)

akky
akky

Reputation: 2907

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.

Upvotes: 0

JerKimball
JerKimball

Reputation: 16934

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

Upvotes: 0

Related Questions