当前位置:首页 > 芯闻号 > 充电吧
[导读]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的外观,或者甚至提供属于自己的输入字符串和候选列表的视图(窗体)





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

9月2日消息,不造车的华为或将催生出更大的独角兽公司,随着阿维塔和赛力斯的入局,华为引望愈发显得引人瞩目。

关键字: 阿维塔 塞力斯 华为

加利福尼亚州圣克拉拉县2024年8月30日 /美通社/ -- 数字化转型技术解决方案公司Trianz今天宣布,该公司与Amazon Web Services (AWS)签订了...

关键字: AWS AN BSP 数字化

伦敦2024年8月29日 /美通社/ -- 英国汽车技术公司SODA.Auto推出其旗舰产品SODA V,这是全球首款涵盖汽车工程师从创意到认证的所有需求的工具,可用于创建软件定义汽车。 SODA V工具的开发耗时1.5...

关键字: 汽车 人工智能 智能驱动 BSP

北京2024年8月28日 /美通社/ -- 越来越多用户希望企业业务能7×24不间断运行,同时企业却面临越来越多业务中断的风险,如企业系统复杂性的增加,频繁的功能更新和发布等。如何确保业务连续性,提升韧性,成...

关键字: 亚马逊 解密 控制平面 BSP

8月30日消息,据媒体报道,腾讯和网易近期正在缩减他们对日本游戏市场的投资。

关键字: 腾讯 编码器 CPU

8月28日消息,今天上午,2024中国国际大数据产业博览会开幕式在贵阳举行,华为董事、质量流程IT总裁陶景文发表了演讲。

关键字: 华为 12nm EDA 半导体

8月28日消息,在2024中国国际大数据产业博览会上,华为常务董事、华为云CEO张平安发表演讲称,数字世界的话语权最终是由生态的繁荣决定的。

关键字: 华为 12nm 手机 卫星通信

要点: 有效应对环境变化,经营业绩稳中有升 落实提质增效举措,毛利润率延续升势 战略布局成效显著,战新业务引领增长 以科技创新为引领,提升企业核心竞争力 坚持高质量发展策略,塑强核心竞争优势...

关键字: 通信 BSP 电信运营商 数字经济

北京2024年8月27日 /美通社/ -- 8月21日,由中央广播电视总台与中国电影电视技术学会联合牵头组建的NVI技术创新联盟在BIRTV2024超高清全产业链发展研讨会上宣布正式成立。 活动现场 NVI技术创新联...

关键字: VI 传输协议 音频 BSP

北京2024年8月27日 /美通社/ -- 在8月23日举办的2024年长三角生态绿色一体化发展示范区联合招商会上,软通动力信息技术(集团)股份有限公司(以下简称"软通动力")与长三角投资(上海)有限...

关键字: BSP 信息技术
关闭
关闭