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





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

特朗普集团近日取消了其新推出的T1智能手机“将在美国制造”的宣传标语,此举源于外界对这款手机能否以当前定价在美国本土生产的质疑。

关键字: 特朗普 苹果 AI

美国总统特朗普在公开场合表示,他已要求苹果公司CEO蒂姆·库克停止在印度建厂,矛头直指该公司生产多元化的计划。

关键字: 特朗普 苹果 AI

4月10日消息,据媒体报道,美国总统特朗普宣布,美国对部分贸易伙伴暂停90天执行新关税政策,同时对中国的关税提高到125%,该消息公布后苹果股价飙升了15%。这次反弹使苹果市值增加了4000多亿美元,目前苹果市值接近3万...

关键字: 特朗普 AI 人工智能 特斯拉

3月25日消息,据报道,当地时间3月20日,美国总统特朗普在社交媒体平台“真实社交”上发文写道:“那些被抓到破坏特斯拉的人,将有很大可能被判入狱长达20年,这包括资助(破坏特斯拉汽车)者,我们正在寻找你。”

关键字: 特朗普 AI 人工智能 特斯拉

1月22日消息,刚刚,新任美国总统特朗普放出重磅消息,将全力支持美国AI发展。

关键字: 特朗普 AI 人工智能

特朗普先生有两件事一定会载入史册,一个是筑墙,一个是挖坑。在美墨边境筑墙的口号确保边境安全,降低因非法移民引起的犯罪率过高问题;在中美科技产业之间挖坑的口号也是安全,美国企业不得使用对美国国家安全构成威胁的电信设备,总统...

关键字: 特朗普 孤立主义 科技产业

据路透社1月17日消息显示,知情人士透露,特朗普已通知英特尔、铠侠在内的几家华为供应商,将要撤销其对华为的出货的部分许可证,同时将拒绝其他数十个向华为供货的申请。据透露,共有4家公司的8份许可被撤销。另外,相关公司收到撤...

关键字: 华为 芯片 特朗普

曾在2018年时被美国总统特朗普称作“世界第八奇迹”的富士康集团在美国威斯康星州投资建设的LCD显示屏工厂项目,如今却因为富士康将项目大幅缩水并拒绝签订新的合同而陷入了僵局。这也导致富士康无法从当地政府那里获得约40亿美...

关键字: 特朗普 富士康

今年5月,因自己发布的推文被贴上“无确凿依据”标签而与推特发生激烈争执后,美国总统特朗普签署了一项行政令,下令要求重审《通信规范法》第230条。

关键字: 谷歌 facebook 特朗普

众所周知,寄往白宫的所有邮件在到达白宫之前都会在他地进行分类和筛选。9月19日,根据美国相关执法官员的通报,本周早些时候,执法人员截获了一个寄给特朗普总统的包裹,该包裹内包含蓖麻毒蛋白。

关键字: 美国 白宫 特朗普
关闭