MessageBox changes Japanese IME Input Mode

G

Guest

I have a simple c# windows form with a textbox and button that, when clicked,
displays a simple MessageBox.

With the cursor in the textbox, I can select the Japanese language and
desired Input Mode (Hiragana, Full-Width Katakana, etc) from the IME toolbar.


However, when the click on the button to display the MessageBox then return
to the text, the Input Mode on the IME switches to "Direct Input", regardless
of what it was originally set to. The IME language remains Japanese, but the
Input Mode changes.

Any ideas why this occurs?
 
L

Linda Liu [MSFT]

Hi,

I performed a test based on your description and did see the problem on my
side.

When I click the button and a message box pops up, the IME is disabled,
because the message box doesn't support IME input by default. After I close
the message box and get the text box focused again, the IME is enabled
again, but the input mode is not turned on.

By default, a TextBox's ImeMode property is set to Inherit. However, its
parent form's ImeMode property is set to NoControl by default. So the value
of the TextBox's ImeMode property is NoControl as well.

We could set the TextBox's ImeMode property to On to turn on the IME input
mode when it get focused. This should be the solution to solve your prolem.

Please try my suggestion and let me know the result.

Sincerely,
Linda Liu
Microsoft Online Community Support

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.
 
L

Linda Liu [MSFT]

Hi,

How about the problem now?

If the problem is still not resolved, please feel free to let me know.

Thank you for using our MSDN Managed Newsgroup Support Service!

Sincerely,
Linda Liu
Microsoft Online Community Support
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top