English 中文(简体)
可可公司如何支持底层的案文投入?
原标题:How can a Cocoa app support bottomline text input?
  • 时间:2010-01-27 17:55:28
  •  标签:
  • macos

I m 试图利用底层线投入支持对生态学的可可评估的国际投入(用户在小窗户中输入文字的一种投入方法,称为“浮动输入窗口”,该窗口出现在屏幕底层。

我不想支持在线投入。

当用户使用输入菜单改变输入方法时,我看不到标准浮动输入窗口,而用户类型文本则输入我。 任何人都知道我需要做什么才能获得这一投入窗口?

感谢。

问题回答

根据我的理解(如果我错错的话,我就没有中间理由支持科拉底线投入窗口。 支持这一投入方法的主要途径是执行以下文书:http://developer.apple.com/mac/library/documentation/Cocoa/Reference/NSTextInputClient_ Protocol/Reference/Reference/Reference.html”。 The s a nice sample代码 available how to implementation.

在碳时代,你们的选择是碳事件。

  • kEventTextInputUpdateActiveInputArea for the inline input, or
  • kEventTextInputUnicodeForKeyEvent for the bottomwindow input.

See Text Services Manager in intellectual/a>。 但是,在64美术馆没有这类数据。 关于32比照的可可包,你或许能够使用透镜。 但是,这肯定比执行议定书”更为复杂。

因此,我建议使用实施网上编辑。 这将使包括我在内的许多东亚人感到高兴。





相关问题
2 mysql instances in MAC

i recently switched to mac. first and foremost i installed xampp. then for django-python-mysql connectivity, i "somehow" ended up installing a seperate MySQL. now the seperate mysql installation is ...

Iterating over string/strlen with umlauted characters

This is a follow-up to my previous question . I succeeded in implementing the algorithm for checking umlauted characters. The next problem comes from iterating over all characters in a string. I do ...

Controlling OSX windows

I m trying to control windows of a foreign OSX applications from my application. I d like to 1. move the windows on the screen 2. resize the windows on the screen 3. change the currently active window ...

Switching J2SE versions on Mac OS (SnowLeopard)

My current JDK on Mac OS (10.6) is set to 1.6 and I d like to switch to 1.5. A listing of /System/Library/Frameworks/JavaVM.framework/Versions/ shows: lrwxr-xr-x 1 root wheel 10 Nov 3 18:34 ...

Scrolling inside Vim in Mac s Terminal

I ve been googling around trying to figure out if it s possible to use my mouse wheel to scroll while inside Vim in Mac s Terminal, with no luck. It seems as if only X11 or iTerm support this. Before ...

export to MP3 from quicktime API

A question for Apple,QT programmers. Would like to know if it s possible to export a Movie object to MP3 using the QuickTime API. Preferably the ConvertMovieToFile function. I ve looked at ...

热门标签