当前位置:首页 > 芯闻号 > 充电吧
[导读]Windows CE Features > InternationalMicrosoft? Windows? CE includes the Input Method Manager (IMM)

Windows CE Features > International


Microsoft? Windows? CE includes the Input Method Manager (IMM) Catalog item. IMM manages the communication between an Input Method Editor (IME) and an application. IMM exposes a set of programming elements that enables applications to create and manage their own IME windows, and to provide a custom interface while using the conversion capabilities of the IME. 
CE包含IMM组件,IMM管理IME和应用之间的通讯。IMM提供一套编程接口,使应用创建和管理其IME窗体,并且为使用IME转换功能提供自定义的接口。


In This Section
此部分主要说明以下几点:
Input Method Manager (IMM) OS Design Development 
IMM OS设计开发
Provides information about Input Method Manager (IMM) that is helpful when designing and developing a Windows CE OS. This includes dependency information, the modules and components that implement IMM, and IMM implementation considerations. 
提供当设计和开发CE OS时,IMM相关的帮助信息。包括依赖信息、实现IMM所需的组件和IMM实现的条件。
Input Method Manager (IMM) Application Development 
IMM应用开发
Provides an overview of the input method system and describes how to use the IMM application programming interface (API).
提供输入法系统的概述,描述如何使用IMM API。 
Input Method Manager (IMM) Samples 
IMM示例
Describes sample code that is available in the %_WINCEROOT%PublicCommonSdkSamples directory. 
详细的示例代码位于%_WINCEROOT%PublicCommonSdkSamples目录中。
Input Method Manager (IMM) Reference 
IMM参考
Provides reference material for IMM programming elements. 
IMM编程元素的详细参考。
Related Sections
相关部分
International Application Development 
Describes how to program and design a global application. 
多国应用开发
如何开发与设计多国应用的描述。


----------
Input Method Manager (IMM) OS Design Development
IMM OS设计开发
Windows CE Features > International > Input Method Manager (IMM)


Windows CE enables you to include Input Method Manager (IMM) in your OS design. 
在进行OS设计时,可以包含IMM到CE系统中。
OS Design Information
OS设计信息
The following table shows operating system design information for Input Method Manager (IMM).
下表显示IMM 相关的OS设计信息
Concept(概念)                           Description(描述)
Dependencies(依赖关系)                  None 
Hardware considerations(硬件条件)       None 


Modules and Components
组件
The following table shows the components and modules that implement Input Method Manager (IMM).
下表显示实现IMM需要的组件
Item                    Module      Component 
Input Method Manager    coredll     coreimm, coreimmstub 
IMM Thunking            gwes        immthunk 


Input Method Manager (IMM) Implementation Considerations
IMM实现条件
The following table shows the Sysgen variables for Input Method Manager (IMM).
下表显示与IMM相关的SysGen变量
Sysgen variable     Description 
SYSGEN_IMM          When this variable is set, Input Method Manager (IMM) is
                    included in the run-time image. 
                    当设计此变量时,IMM被包含到运行时映像中。


----------
Input Method Manager (IMM) Application Development
IMM应用开发
Windows CE Features > International > Input Method Manager (IMM)


Input Method Manager (IMM) manages the communication between an Input Method Editor (IME) and an application. IMM exposes a set of programming elements that enable applications to create and manage their own IME windows, and to provide a custom interface while using the conversion capabilities of the IME. 
IMM负责IME和应用之间的通讯,IMM提供一套编程接口使用应用可以创建和管理其IME窗体,并且当使用IME的转换功能时提供自定义的接口。
In This Section
此部分包含以下内容:
Working with the Input Method Editor
从事IME工作
 Method Manager (IMM) Reference
IMM参考
Related Sections
相关部分
Locale Specific Support
区域设置(本地)细节支持
International
多国化




Working with the Input Method Editor
从事IME工作
Windows CE Features > International > Input Method Manager (IMM) > Input Method Manager (IMM) Application Development


The Input Method Editor (IME) in Microsoft? Windows? CE simplifies the process of providing input for users. In particular, IMEs are required for many Asian languages in order to input characters from the keyboard. These languages are often made up of thousands of distinct characters, which make it impossible to show all of the characters on a single keyboard. To facilitate composition, the IME converts the keystrokes into the characters of the target language as a user types. Depending on the IME, these characters may be further converted. The IME in Windows CE that is localized for Japanese, for example, converts Roman keystrokes entered by a user to Katakana or Hiragana. Then, an additional conversion changes characters to Kanji. 
CE的IME简化了提供给用户的输入过程,特别是为了使用键盘输入亚洲语言时,IME是必须的。这些语言通常是由数千的不同的字符构成,在一个小键盘上显示所有字符是不可能的。为了便于写作(输入),IME转换按键到用户类型的(被翻译的)语言。依靠于IME,字符进一步的转换。例如,CE中的IME可以处理日文,转换用户输入的罗马字符到片假名和平假名。然后,额外的转换转换这些字符到日本汉字。
The IME can also present a list of alternatives, called the candidate list, in situations in which the composition is ambiguous. A Windows CE–based application uses the Input Method Manager (IMM) to communicate with the IME.
IME在输入含糊不清的情况下,可以提供一系列的选择,称为候选列表。基于CE的应用用户使用IMM与IME通讯。


See Also
相关内容
Overview of the Input Method System | Overview of the IME User Interface
输入法系统概述 | IME用户接口概述


Overview of the Input Method System
输入法系统概述


Windows CE Features > International > Input Method Manager (IMM) > Input Method Manager (IMM) Application Development > Working with the Input Method Editor
The main parts of the Input Method system are the following: 
输入法系统的主要部分如下:
The IME kernel contains the knowledge of the specific language that a user is inputting. 
IME内核包含用户输入的特定语言的知识。
The IME user interface (UI) consists of a Status window, a default Composition window, a Candidate window, and a Guideline window. 
IME UI包含状态窗体、输入窗体、候选窗体和准则窗体。
布局窗体(Guideline window):The width of the guideline window is calculated by adding together the width of the close button, the width of the composition string area, the left and right margins of the window, and the width of the borders if the borders are specified by the CImeCUIDefCompWindow::GetWndStyle or the CImeCUIDefCompWindow::GetWndStyleEx method.---摘自MSND:http://msdn.microsoft.com/en-us/library/aa912208.aspx
The Input Method Manager (IMM) coordinates the interaction among the window system, the application, and the IME. 
IMM协调操作系统,应用和IME之间的合作。
An input context maintains the current state of user interaction with the IME. In particular, it maintains the composition string, which consists of the characters that a user is in the process of inputting. 
输入法上下文维护IME用户接口的当前状态,尤其是它维护用户正在输入的候选字符串。
An IME Control window routes unhandled IME messages to the IME. 
IME控制窗体传递未处理的IME消息给IME。
The basic operation is as follows.
基础的操作如下:
A user presses keys on a keyboard. These keystrokes are routed to the IME by the IMM. The IME uses the keys either as commands or to generate characters in the composition string. As the IME carries out its operations, it sends notification messages to the window that currently has the focus. If this window does not process the messages, the messages are sent to the IME Control window, which then routes them back to the IME for default processing. Windows that do not process IME messages are called IME-unaware windows. The IME provides the entire user interface, and the window is completely unaware that an IME is operational. Windows that intercept and process IME messages are called IME-aware windows. By intercepting IME messages, these windows may provide their own UI. By using IMM functions, these windows communicate with the IME.
用户按键,此按键通过IMM传递到IME。IME将此按键当成命令或当成输入字符串产生字符。当IME执行它的操作后,发送通知信息到当前焦点窗体。如果此窗体不处理此信息,消息被发送到IME控制窗体,控制窗体然后回传信息到IME进行缺省处理。不处理IME消息的窗体被称做不知道IME的窗体。IME提供完整的用户接口,并且这些窗体是完全未察觉IME操作。拦截并处理IME消息窗体,称为知道IME的窗体。通过拦截IME消息,这些窗体可以提供它们自己的UI。通过使用IMM功能,这些窗体与IME通讯。


Overview of the IME User Interface
IME用户接口概述
Windows CE Features > International > Input Method Manager (IMM) > Input Method Manager (IMM) Application Development > Working with the Input Method Editor


The IME-provided UI consists of the Status, Composition, Candidate, and Guideline windows. By default, the IME creates and manages these windows for all windows that require text input. For most applications, this default processing is sufficient. An application that relies entirely on the IME for its UI is considered IME-unaware because it is unaware that an IME is functioning in the system.
IME提供的UI包含状态、输入、候选和布局窗体。默认情况,IME创建并管理所有请求文字输入的窗体。对于绝大多数程序,默认的处理是足够的。UI完全依赖于IME的应用被认为是不知道IME的,因为当系统中有IME功能时它不知道IME的存在。
In contrast, an IME-aware application participates in the operation of the IME. Such an application can control the operation, position, and appearance of the IME, or can even provide its own view of the composition string and candidate list.
相反,知道IME的应用分享IME的操作。例如应用可以控制操作、位置和IME的外观,或者甚至提供属于自己的输入字符串和候选列表的视图(窗体)





本站声明: 本文章由作者或相关机构授权发布,目的在于传递更多信息,并不代表本站赞同其观点,本站亦不保证或承诺内容真实性等。需要转载请联系该专栏作者,如若文章内容侵犯您的权益,请及时联系本站删除。
换一批
延伸阅读

近日,美国研究机构TechInsights经过拆解与分析认为,麒麟9010是中芯国际制造的,所用工艺是第二代7nm,也就是N+2。

关键字: 华为 芯片 处理器

4月28日,开放式耳机品牌鲸语系列新品于“2024年第五届中关村硬核科技嘉年华”正式亮相。此次发布的新品中,拥有星空黑与暮沙白双配色的防水骨传导运动耳机——鲸语Alpha,以其独特的设计理念和水陆两栖的卓越性能,吸引了众...

关键字: 开放式耳机 运动耳机 鲸语Alpha

作为一名数码爱好者,更是资深理工男,自然也对3D打印设备兴趣满满,正好看到全球消费级光固化3D打印第一品牌的ELEGOO爱乐酷推出了一款重磅新品,性能上也有非常多颠覆升级,便迫不及待入手一台感受一下。

关键字: 打印机

京元电子在重大讯息说明会中宣布,将出售持有苏州子公司京隆科技 92.1619% 的股权,预估交易金额约 48.85 亿人民币,将于第三季度完成交易,届时将退出中国大陆半导体制造业务。

关键字: 半导体制造 半导体封测 封装测试 京元电子

电子数据的存储与共享在我们生活中占据越来越重要的地位,而传统的硬盘存储已然难以满足人们日益增长的数据存储需求,为此网络附加存储(NAS)则以其便捷、高效的特点,逐渐受到广大用户的青睐。但是提到NAS,很多人可能会觉得它是...

关键字: 存储 铁威马NAS 硬盘存储

4月25日,以“分享鸿蒙技术特性,交流鸿蒙生态共建”为主题的HDD·行业沙龙在江西武功山成功举行。华为产品专家们现场带来了诸多精彩分享,吸引了来自政务、金融、新闻资讯等多个行业的四十余家软件服务商到场参加。

关键字: 鸿蒙 华为 智能设备

4月25日,2024(第十八届)北京国际汽车展览会拉开序幕,车展以“新时代·新汽车”为主题,一直持续到5月4日。本次车展将有全球首发车117台(其中跨国公司全球首发车30台),41款概念车及278款新能源车型展出。

关键字: 北京车展 新能源汽车 电动汽车

LED驱动模块RSC6218A 5W-18W迷你高效驱动电源应用,小功率、小体积、高效率

关键字: LED驱动模块 驱动电源应用 LED电源芯片

业内消息,近日台积电在北美技术研讨会上宣布,正在研发 CoWoS 封装技术的下个版本,可以让系统级封装(SiP)尺寸增大两倍以上,实现 120x120mm 的超大封装,功耗可以达到千瓦级别。

关键字: CoWoS 台积电 封装

据外媒报道,字节正在内部探索出售TikTok美国业务多数股权,并援引内部人士披露的信息称 “沃尔玛或为最理想买家”。报道还称,讨论中的一种情况是字节出售美国50%以上TikTok股份,但保留少数股权。

关键字: 字节跳动 TikTok
关闭
关闭