


























2007-11-28 15:15 ruinet 阅读(1430) 评论(1) 收藏 举报
1. 获取输入法
新建Form ,拖入设备组件inputPanel
foreach (InputMethod im in this.inputPanel1 .InputMethods)
{
this.listBox1.Items.Add(im.Name);
}
2. 显示输入面板
[System.Runtime.InteropServices.DllImport("coredll.dll")]
internal static extern uint SipShowIM(long flags);
SipShowIM(0);//隐藏
SipShowIM(0);//显示
3. 设置控件输入法
Microsoft.WindowsCE.Forms.InputModeEditor.SetInputMode(this.textBox1, InputMode. Numeric);
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。