Selecting the SIP keyboard

R

Richard Kucia

My app has lots of textboxes. Some accept text descriptions, others accept
numeric values. It would be convenient for the user if the SIP automatically
displayed the numeric keyboard when the user was in a numeric textbox. I'm
not asking how to force the SIP to appear -- I'm asking how to select which
keyboard appears if/when the user asks for the SIP. There is useful
descriptive information at the bottom of the form which should not be
overlaid by the SIP unless/until the user asks for the SIP.

Thanks.
Richard Kucia
 
R

Richard Kucia

Peter,

I think what you're implying is that I add a handler to the
InputPanel.EnabledChanged event and in it select an IM keyboard that's
appropriate to the user's textbox (using code like Alex's sample). I had
been focusing on the wrong approach: presetting the IM keyboard before the
user actually popped up the SIP. Thanks for refocusing me.

Richard Kucia
 
A

Alex Feinman [MVP]

Of course you realize that this code is a ... I think I like the word
"worakround" here. It can be easily broken by some changes not under you
control. It;s about as reliable as screen-scraping technique utilized to
harvest information from the web pages. But then, since there is no API to
do this, you should be no worse off than without it.
 

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