JP2002014760A - Virtual keyboard - Google Patents

Virtual keyboard

Info

Publication number
JP2002014760A
JP2002014760A JP2000198757A JP2000198757A JP2002014760A JP 2002014760 A JP2002014760 A JP 2002014760A JP 2000198757 A JP2000198757 A JP 2000198757A JP 2000198757 A JP2000198757 A JP 2000198757A JP 2002014760 A JP2002014760 A JP 2002014760A
Authority
JP
Japan
Prior art keywords
window
virtual keyboard
target window
character
focus
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2000198757A
Other languages
Japanese (ja)
Inventor
Hiroshi Toushiba
宏 東芝
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP2000198757A priority Critical patent/JP2002014760A/en
Publication of JP2002014760A publication Critical patent/JP2002014760A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To solve the problem that the control needs to be put in focus on a virtual keyboard again when a target window is switched during the use of the virtual keyboard. SOLUTION: This virtual keyboard sends a character or character string to the target window where characters should be inputted and the target window is a window of another process; and a user's instruction for switching the target window is detected by the virtual keyboard, the window handle of a new target window is obtained in response, and control is so performed that the focus do not move to the new target window, thereby making it possible to switch the target window while the virtual keyboard is held active. Then the character or character string is sent in the new target window having been switched to.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、ウインドウシステ
ムにおける仮想キーボード等の文字入力方法に関する。
The present invention relates to a method for inputting characters such as a virtual keyboard in a window system.

【0002】[0002]

【従来の技術】仮想キーボード等の文字入力のためのプ
ロセスは、起動されるとフォーカスを得るので、その後
はキーボードドライバからのキーメッセージや仮想キー
ボード上のボタンダウンメッセージをすべて受け取るこ
とができるようになる。そして、受け取ったメッセージ
から文字や文字列を確定すると、直前までアクティブで
あったプロセス、いわゆるターゲットプロセスにその文
字列をメッセージによって転送する。引き続き仮想キー
ボード上で文字が入力されれば、それらの文字列も同じ
ようにターゲットプロセスに送っている。
2. Description of the Related Art Since a process for inputting characters on a virtual keyboard or the like gains focus when activated, it can receive all key messages from a keyboard driver and button down messages on the virtual keyboard. Become. Then, when the character or character string is determined from the received message, the character string is transferred by a message to a process that was active until immediately before, that is, a target process. If characters continue to be input on the virtual keyboard, those character strings are sent to the target process in the same manner.

【0003】[0003]

【発明が解決しようとする課題】しかし、その間または
その後に、仮想キーボード以外の別のプロセスをアクテ
ィブにするようにマウスの左ボタンが押されたときは、
マウスカーソルで指示されたそのプロセスにフォーカス
が移ってアクティブとなる。他方、仮想キーボードはフ
ォーカスを失ってインアクティブになるので、その新し
くフォーカスを得たプロセスで仮想キーボードを使いた
い場合には、ここで再び仮想キーボードにフォーカスを
与えるようにしなければならない。
However, during or after that, when the left mouse button is pressed to activate another process other than the virtual keyboard,
The focus is moved to the process pointed by the mouse cursor and the process is activated. On the other hand, the virtual keyboard loses focus and becomes inactive, so if you want to use the virtual keyboard in the newly gained process, you must regain focus on the virtual keyboard here.

【0004】[0004]

【課題を解決するための手段】本発明は、文字を入力す
べきターゲットウインドウに文字または文字列を送り込
む仮想キーボードであって、前記ターゲットウインドウ
は他のプロセスのウインドウであり、そのターゲットウ
インドウを切り換えるユーザの指示を仮想キーボードは
検知し、それに応じて新しいターゲットウインドウのウ
インドウハンドルを取得し、且つ、新しいターゲットウ
インドウにフォーカスが移らないように制御して、仮想
キーボードがアクティブな状態のままターゲットウイン
ドウの切り換えを許し、切り換えられた新しいターゲッ
トウインドウに文字または文字列を送り込むようにし
て、上記課題を解決するものである。
SUMMARY OF THE INVENTION The present invention is a virtual keyboard for sending a character or character string to a target window to which a character is to be input, wherein the target window is a window of another process and switches the target window. The virtual keyboard detects the user's instruction, obtains the window handle of the new target window in response to the instruction, and controls the new target window so that the focus is not shifted to the new target window. The object of the present invention is to solve the above problem by allowing switching and sending characters or character strings to the new target window that has been switched.

【0005】[0005]

【実施例】図2は、一般のアプリケーションプログラム
が起動されて、そのプロセスがアクティブになったとき
の動作を示している。アプリケーションプロセスは、マ
ウスの左ボタンが押し下げられたことを示すマウス左ボ
タンダウンのメッセージを受け取ると(ステップS1
1)、自身のウインドウハンドルをシステム共有メモリ
の所定の領域に書き込むようにしている(同S11)。
また、同じプロセス内の別のウインドウがマウスで指示
された場合にも、マウス左ボタンダウンのメッセージを
受け取るので、そのウインドウのウインドウハンドルを
所定の領域に書き込むようにしている。従って、この所
定領域に記憶されているウインドウハンドルを読み出せ
ば、直前までフォーカスが当っていたウインドウを知る
ことができるものである。
FIG. 2 shows the operation when a general application program is activated and its process becomes active. The application process receives the mouse left button down message indicating that the left mouse button has been pressed (step S1).
1) The own window handle is written in a predetermined area of the system shared memory (S11).
Also, when another window in the same process is pointed by the mouse, the message of the left mouse button down is received, so that the window handle of the window is written in a predetermined area. Therefore, by reading the window handle stored in the predetermined area, it is possible to know the window that has been focused immediately before.

【0006】ウインドウシステムにおいて、何らかのア
プリケーションプログラムのプロセスが動作中であり、
そのプロセスの中で文字列を入力すべきウインドウにフ
ォーカスが当っているとき、ユーザによって仮想キーボ
ードが起動される。図1は、実施例の文字入力支援ツー
ルである仮想キーボードの動作を示すフローチャートで
ある。この仮想キーボードも1つのプロセスであり、起
動されるとフォーカスを得てアクティブとなる。他方、
直前までフォーカスが当っていたアプリケーションのウ
インドウはフォーカスを失い、またそのアプリケーショ
ンプロセスはインアクティブとなる。
In the window system, some application program process is running,
In the process, when a window in which a character string is to be input has focus, a virtual keyboard is activated by the user. FIG. 1 is a flowchart showing the operation of the virtual keyboard which is the character input support tool of the embodiment. This virtual keyboard is also one process, and when activated, gains focus and becomes active. On the other hand,
The window of the application that had the focus immediately before loses the focus, and the application process becomes inactive.

【0007】そこで、仮想キーボードは、起動されると
先ず、ウインドウシステムのメッセージをフックするフ
ックプロシージャをセットする(ステップS1)。これ
により、仮想キーボード自身のウインドウ以外のウイン
ドウに送られるメッセージを、すべて横取りすることが
できるようになる。そして、受け取ったメッセージが、
他のプロセスのウインドウに対するマウス左ボタンダウ
ンのメッセージであれば(同S3;Yes)、ユーザに
よるウインドウ切り換えの指示であるので、その該当の
ウインドウにマウス左ボタンダウンのメッセージを転送
する(同S8)。このメッセージを受け取ったウインド
ウは、図2に示した動作を実行する。但し、ここではそ
のウインドウにフォーカスを移すメッセージは送らない
ので、該当のウインドウがアクティブになることはな
い。
Therefore, when the virtual keyboard is started, first, a hook procedure for hooking a window system message is set (step S1). As a result, all messages sent to windows other than the window of the virtual keyboard itself can be intercepted. And the received message is
If the message is a mouse left button down message for a window of another process (S3; Yes), it is an instruction to switch windows by the user, so the message of mouse left button down is transferred to the corresponding window (S8). . The window receiving this message performs the operation shown in FIG. However, here, a message for shifting the focus to the window is not sent, so that the window is not activated.

【0008】受け取ったメッセージが文字入力のメッセ
ージであれば、仮想キーボード上で文字入力を受け付け
(同S4)、指示に応じてかな漢字変換を実施して文字
列を確定する(同S5)。そして、仮想キーボード上の
所定のボタンが押されるなど、ユーザによってアプリケ
ーションウインドウへの文字列の入力が指示されると、
文字列を送るべきターゲットウインドウのウインドウハ
ンドルを、システム共有メモリの所定の領域から読み出
してくる(同S6)。そして、そのウインドウハンドル
のウインドウに、確定した文字列をメッセージによって
送るのである(同S7)。引き続き仮想キーボードによ
ってユーザが文字を入力すれば、仮想キーボードのプロ
セスは文字列を確定し(同S5)、指示がある度にその
文字列をターゲットウインドウにメッセージ送信する
(同S7)。
If the received message is a character input message, character input is accepted on the virtual keyboard (S4), and Kana-Kanji conversion is performed according to the instruction to determine the character string (S5). When a user instructs input of a character string in an application window, such as pressing a predetermined button on a virtual keyboard,
The window handle of the target window to which the character string is to be sent is read from a predetermined area of the system shared memory (S6). Then, the determined character string is sent by a message to the window of the window handle (S7). If the user continues to input characters using the virtual keyboard, the process of the virtual keyboard determines the character string (S5), and transmits the character string to the target window every time there is an instruction (S7).

【0009】最後に、ユーザによって仮想キーボードの
終了が指示された場合は(同S2;Yes)、最初にセ
ットしたフックプロシージャをリセットし(同S9)、
直前までフォーカスが当っていたターゲットウインドウ
に再びフォーカスが戻るようにして、自分自身のプロセ
スを終了する。
Finally, when the user instructs the termination of the virtual keyboard (S2; Yes), the hook procedure set first is reset (S9).
Return the focus to the target window that was in focus immediately before, and end your own process.

【0010】[0010]

【発明の効果】本発明によれば、文字入力支援ツールが
アクティブな状態のまま、文字を入力すべきアプリケー
ションウインドウを切り換えることができ、文字入力支
援ツールで確定した文字列を、新たに指定したウインド
ウに送り込むことができるようになる。そして、アプリ
ケーションウインドウを切り換えた際にも、あらためて
文字入力支援ツールをアクティブにする必要がないの
で、面倒がなく、効率的に文字入力処理をすることがで
きる。
According to the present invention, it is possible to switch the application window in which characters are to be input while the character input support tool is active, and to newly specify a character string determined by the character input support tool. You can send it to the window. Then, even when the application window is switched, it is not necessary to activate the character input support tool again, so that the character input processing can be performed efficiently without any trouble.

【図面の簡単な説明】[Brief description of the drawings]

【図1】実施例の動作を示すフローチャートである。FIG. 1 is a flowchart showing an operation of an embodiment.

【図2】実施例の動作を示すフローチャートである。FIG. 2 is a flowchart showing the operation of the embodiment.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 文字を入力すべきターゲットウインドウ
に文字または文字列を送り込む仮想キーボードであっ
て、前記ターゲットウインドウは他のプロセスのウイン
ドウであり、そのターゲットウインドウを切り換えるユ
ーザの指示を仮想キーボードは検知し、それに応じて新
しいターゲットウインドウのウインドウハンドルを取得
し、且つ、新しいターゲットウインドウにフォーカスが
移らないように制御して、仮想キーボードがアクティブ
な状態のままターゲットウインドウの切り換えを許し、
切り換えられた新しいターゲットウインドウに文字また
は文字列を送り込むようにしたことを特徴とする仮想キ
ーボード。
1. A virtual keyboard for sending a character or a character string to a target window to which characters are to be input, wherein the target window is a window of another process, and the virtual keyboard detects a user's instruction to switch the target window. Correspondingly, obtains the window handle of the new target window and controls the new target window so as not to receive the focus, allowing the switching of the target window while the virtual keyboard is active,
A virtual keyboard, wherein characters or character strings are sent to a new target window that has been switched.
JP2000198757A 2000-06-30 2000-06-30 Virtual keyboard Pending JP2002014760A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000198757A JP2002014760A (en) 2000-06-30 2000-06-30 Virtual keyboard

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000198757A JP2002014760A (en) 2000-06-30 2000-06-30 Virtual keyboard

Publications (1)

Publication Number Publication Date
JP2002014760A true JP2002014760A (en) 2002-01-18

Family

ID=18696873

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000198757A Pending JP2002014760A (en) 2000-06-30 2000-06-30 Virtual keyboard

Country Status (1)

Country Link
JP (1) JP2002014760A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005310039A (en) * 2004-04-26 2005-11-04 Sony Corp Information processor, processing method of information processor, and processing program of information processor
JP2011530764A (en) * 2008-08-29 2011-12-22 ヒューレット−パッカード デベロップメント カンパニー エル.ピー. Combined interface for shell applications and sub-applications
US20130167021A1 (en) * 2011-12-21 2013-06-27 Kyocera Corporation Device, method, and computer-readable recording medium

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005310039A (en) * 2004-04-26 2005-11-04 Sony Corp Information processor, processing method of information processor, and processing program of information processor
JP2011530764A (en) * 2008-08-29 2011-12-22 ヒューレット−パッカード デベロップメント カンパニー エル.ピー. Combined interface for shell applications and sub-applications
US20130167021A1 (en) * 2011-12-21 2013-06-27 Kyocera Corporation Device, method, and computer-readable recording medium
JP2013131028A (en) * 2011-12-21 2013-07-04 Kyocera Corp Device, method and program
US9454517B2 (en) 2011-12-21 2016-09-27 Kyocera Corporation Device, method, and computer-readable recording medium

Similar Documents

Publication Publication Date Title
JPH04172535A (en) Popup control system for personal computer
JP2002014760A (en) Virtual keyboard
JP4072381B2 (en) Graphical user interface construction method and program
TW200407713A (en) Method to activate the audio player by quick button
JPH0218644A (en) Cache memory control system
JPH11327790A (en) Pointing method and pointing device with storage function
JP3182430B2 (en) Man-machine interface device
JP2002189553A (en) Portable terminal and character input method therefor
JP2001014260A (en) Input controller and recording medium
JP2005082291A (en) Elevator control device
JPH07210286A (en) Keymask method for keyboard
JPH0659802A (en) Device for controlling pen input
JP2635636B2 (en) Key input device
JP2543256B2 (en) Input panel surface switching processing method
JP2001265526A (en) Remote controller with pointing device
JPH1049351A (en) Information processor
JP2000132316A (en) Input device using keyboard device
JPH06175765A (en) Pen input device
JP3201530B2 (en) Information processing apparatus and method
JPH01234918A (en) Keyboard device
JPH11119801A (en) Process controller
KR19980073501A (en) How to operate your computer
TW201931074A (en) Computer system with mode switching capability and mode switching method
JPH07248871A (en) Hard copy control system
JPH0721400A (en) Method for switching screen in multiwindow system

Legal Events

Date Code Title Description
RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20051226

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070522

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090529

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090609

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090804

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20090915