JP2001117685A - Method for switching pen operation and mouse operation and information equipment using the method - Google Patents

Method for switching pen operation and mouse operation and information equipment using the method

Info

Publication number
JP2001117685A
JP2001117685A JP29489299A JP29489299A JP2001117685A JP 2001117685 A JP2001117685 A JP 2001117685A JP 29489299 A JP29489299 A JP 29489299A JP 29489299 A JP29489299 A JP 29489299A JP 2001117685 A JP2001117685 A JP 2001117685A
Authority
JP
Japan
Prior art keywords
pen
transparent window
event
mouse
information
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
JP29489299A
Other languages
Japanese (ja)
Inventor
Ryunosuke Murao
龍之介 村尾
Yukio Saito
幸夫 斉藤
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.)
Hitachi Information Systems Ltd
Original Assignee
Hitachi Information Systems 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 Hitachi Information Systems Ltd filed Critical Hitachi Information Systems Ltd
Priority to JP29489299A priority Critical patent/JP2001117685A/en
Publication of JP2001117685A publication Critical patent/JP2001117685A/en
Pending legal-status Critical Current

Links

Landscapes

  • User Interface Of Digital Computer (AREA)
  • Position Input By Displaying (AREA)

Abstract

PROBLEM TO BE SOLVED: To attain an operation, while confirming an application screen opened to the back part, and to improve visibility, and to dispense with providing the switching button of a pen operation/mouse operation. SOLUTION: A transparent window display part 30 is generated, and event information is obtained, and whether an event is generated inside the transparent window 30 or outside the transparent window 30 is decided by a monitor part 60. When the event is generated inside the transparent window 30, a series of event information is fetched as handwritten inputting operation information, and position coordinate data attended with pen movement are held, and trace- displayed on a screen 20. After the generation of the events, a trace displaying and deleting part 50 deletes the trace display after the lapse of a fixed time, and releases a handwritten input mode. When the event position is outside the transparent window 30, the monitor part 60 transfers the event information generated by a series of operations to a system (OS), and this is processed as a mouse operation mode.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、Windows
(登録商標)上で手書き入力をサポートするシステムに
共通して利用できる方法および装置であって、切換えボ
タンの押し下げを忘れたために操作上の混乱を起こすと
いうことが避けられ、かつ視認性がよく、操作性の向上
を図ることができるペン操作とマウス操作の切換え方法
およびその方法を用いた情報機器に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to Windows
A method and apparatus commonly used for a system supporting handwriting input on the (registered trademark), which avoids confusion in operation due to forgetting to depress a switching button and has good visibility. The present invention relates to a method for switching between a pen operation and a mouse operation that can improve operability, and an information device using the method.

【0002】[0002]

【従来の技術】従来、主にペンコンピュータやタッチパ
ネル、タブレットなどを使用してポインティング・ディ
バイス(ペンまたはマウス、以降は手書き文字の入力媒
体としてマウスを使用する場合も、ここでは便宜上ペン
と表現する)による手書き入力をサポートするシステム
においては、ポインティング・ディバイスを、ペンとし
て手書き入力用に使用する場合と、単純にマウスとして
使用する場合とがある。このような場合、ユーザがポイ
ンティング・ディバイスを操作した時に、「ペンとして
文字を入力しようとした」操作(以下ペン操作と呼ぶ)
であるか、あるいは「マウスとしてピック或いはドラッ
グをしようとした」操作(以下マウス操作と呼ぶ)であ
るかの判別が困難な場合が生じる。
2. Description of the Related Art Conventionally, a pointing device (pen or mouse, hereinafter using a mouse as an input medium for handwritten characters) mainly using a pen computer, a touch panel, a tablet or the like is also referred to as a pen for convenience here. In a system that supports handwriting input according to (1), the pointing device may be used as a pen for handwriting input, or may be used simply as a mouse. In such a case, when the user operates the pointing device, an operation of “trying to input a character as a pen” (hereinafter referred to as a pen operation)
Or an operation of “trying to pick or drag as a mouse” (hereinafter referred to as a mouse operation) in some cases.

【0003】以下、一般的に使用されているペン操作/
マウス操作の判別の方法と、それぞれの問題点を記述す
る。 (1)画面に文字入力枠を表示し、この枠内へのポイン
ティング・ディバイスによるイベント入力(以下、単に
ペンダウンまたはペンアップと呼ぶ)のみをペン操作と
し、文字入力枠外へのペンダウン操作は全てマウス操作
として扱う方法がある。この方法では、文字を入力しや
すくする為に、一定以上の大きさの文字入力枠を複数個
表示する必要があるため、背後に開いているアプリケー
ションの画面が見えなくなるという弊害がある。 (2)ペン操作/マウス操作のモード切換えボタンを設
定し、このボタンの切換えにより扱いを決定する方法が
ある。この方法では、モード切換えの都度、ボタンを押
し下げる必要がある為、操作が煩雑になり、かつボタン
の押し下げ操作を忘れることが多い。
[0003] In the following, generally used pen operation /
The method of determining the mouse operation and the respective problems are described. (1) A character input frame is displayed on the screen, and only an event input (hereinafter, simply referred to as pen-down or pen-up) by a pointing device in this frame is a pen operation, and all pen-down operations outside the character input frame are performed with a mouse. There is a way to treat it as an operation. In this method, it is necessary to display a plurality of character input frames having a size equal to or more than a certain size in order to make it easy to input characters, and thus there is a problem that the screen of the application open behind cannot be seen. (2) There is a method of setting a mode switching button for pen operation / mouse operation and determining the handling by switching this button. In this method, it is necessary to depress the button every time the mode is switched, so that the operation becomes complicated and the operator often forgets to depress the button.

【0004】前記(1)の方法の応用例として、例え
ば、特開平8−234905号公報に記載の「表示位置
指定方法」がある。この方法では、マウスは相対的な位
置を指示するポインティングデバイスであり、ペン入力
装置は絶対的な位置を指示するポインティングデバイス
であることから、ペンマウスが表示画面に対応して形成
される入力領域に対して入力操作を行っているか否かを
判別して、その入力領域に対する入力操作であると判別
した場合には、その入力領域上の検出変位を絶対座標の
変位として表示データの表示位置の制御を行い、前記入
力領域以外に対する入力操作であると判別した場合に
は、出力される変位情報を相対座標の変位として表示デ
ータの表示位置の制御を行っている。この方法では、1
つのポインティングデバイスで、絶対的な位置の指定と
相対的な位置の指定の両方を行うことができるが、前記
(1)の問題点である、背後に開いているアプリケーシ
ョン画面が見えないという弊害が生じる。
As an application example of the method (1), there is, for example, a "display position designation method" described in Japanese Patent Application Laid-Open No. 8-234905. In this method, since the mouse is a pointing device for indicating a relative position, and the pen input device is a pointing device for indicating an absolute position, the pen mouse is an input area formed corresponding to the display screen. It is determined whether or not an input operation has been performed on the input area, and if it is determined that the input operation has been performed on the input area, the detected displacement on the input area is regarded as the displacement of the absolute coordinates and the display position of the display position of the display data is determined. When the control is performed and it is determined that the input operation is performed for an area other than the input area, the display position of the display data is controlled using the output displacement information as the displacement of the relative coordinates. In this method, 1
Although one pointing device can be used to specify both an absolute position and a relative position, the problem of (1) above is that the application screen open behind cannot be seen. Occurs.

【0005】[0005]

【発明が解決しようとする課題】このように従来の方法
では、ペン操作/マウス操作の切換えとして、文字入力
枠を表示する方法と、切換えボタンを押下することで切
換える方法とがあるが、いずれの方法も操作データの視
認性が悪く、または操作性が悪いという問題点があっ
た。そこで、本発明の目的は、これら従来の問題点を解
消し、手書き入力をサポートするシステムにおけるポイ
ンティングディバイスのペン操作とマウス操作の切換え
を、使用者に負担を与えることなく実現し、視認性、操
作性の良いペン操作とマウス操作の切換え方法およびそ
の方法を用いた情報機器を提供することである。
As described above, in the conventional method, there are a method of displaying the character input frame and a method of pressing the switch button to switch between the pen operation and the mouse operation. The method (1) also has a problem that visibility of operation data is poor or operability is poor. Therefore, an object of the present invention is to solve these conventional problems and realize switching between pen operation and mouse operation of a pointing device in a system supporting handwriting input without imposing a burden on a user, An object of the present invention is to provide a method of switching between a pen operation and a mouse operation with good operability and an information device using the method.

【0006】[0006]

【課題を解決するための手段】上記目的を達成するた
め、本発明のペン操作とマウス操作の切換え方法では、
画面上に、位置や大きさを自由に変更できる透明ウィン
ドウを生成するステップ(図4の100)と、ペンダウ
ン・イベントを検知してシステム(OS)に渡さずに、
自アプリケーション内に取込む「メッセージフック」を
行うステップ(110)と、当該ペンダウン・イベント
が当該透明ウィンドウ内で発生したか、当該透明ウィン
ドウ外で発生したかを判別するステップ(140)と、
当該ペンダウンが透明ウィンドウ内の場合は、手書き入
力操作として、後続の透明ウィンドウの範囲を越えたペ
ン操作に伴い発生する一連のイベント情報をシステム
(OS)に渡さずに自アプリケーション内に取込む「メ
ッセージフック」を行うステップ(160)と、当該ペ
ンダウンが透明ウィンドウ外の場合は、マウス操作とし
て、後続の一連の操作をマウスイベントとし、そのまま
システム(OS)に渡すステップ(150)と、手書き
入力操作の場合には、ペンダウン状態での移動に伴う位
置座標のデータを保持し、かつこのトレース表示を行う
ステップ(170,180)と、更に手書き入力操作の
場合には、ペンアップ・イベント発生後、一定の時間経
過後にトレース表示を消去して、手書き入力モードを解
除するステップ(190,200)とを有している。こ
れにより、ペン操作とマウス操作を視認性よく、モード
レスで行うことが可能となる。
In order to achieve the above object, a method for switching between pen operation and mouse operation according to the present invention comprises:
A step of generating a transparent window on the screen whose position and size can be freely changed (100 in FIG. 4), and detecting a pen down event and not passing it to the system (OS),
A step (110) of performing a “message hook” to be imported into the own application; and a step (140) of determining whether the pen-down event has occurred within the transparent window or outside the transparent window.
When the pen-down is within the transparent window, a series of event information generated by a pen operation beyond the range of the subsequent transparent window is taken into its own application as a handwriting input operation without passing it to the system (OS). A message hook "step (160); a mouse operation when the pen down is outside the transparent window; a subsequent series of operations as a mouse event; In the case of an operation, a step (170, 180) of holding the position coordinate data accompanying the movement in the pen-down state and displaying the trace, and in the case of a handwriting input operation, after the occurrence of a pen-up event Erasing the trace display after a certain period of time and canceling the handwriting input mode (1) 0, 200) and a. This makes it possible to perform pen operation and mouse operation with good visibility and modelessly.

【0007】また、本発明の情報機器では、本体ウィン
ドウ表示部の全面が隠されることのない、透明ウィンド
ウを手書きウィンドウ枠として設定することを特徴とし
ている。このように、本発明においては、WindowsのO
Sで標準的にサポートされている複数の機能(穴が空い
ている状態のウィンドウ生成機能と、システムメッセー
ジをAPが横取するメッセージフック機能)を組合せるこ
とにより、背景が透明で、位置や大きさが自由に変えら
れるウィンドウを表示し、この透明ウィンドウ内へのペ
ンダウンで始まる一連の操作をペン操作と判別する方法
を提案する。これにより、背後に開いているアプリケー
ションの表示データを隠す事なく、また余分な操作を行
う事なくペン操作とマウス操作の切分け、判別が可能と
なる。なお、最近では、ペンによる手書き入力をサポー
トしたソフトウェアはPDA(Personal Digital Assis
tants)と呼ばれる個人向け携帯用情報機器のみなら
ず、ペンコンピュータに代表されるパソコンの市場にお
いても登場しつつある。これらのシステムでは、「ペン
による手書き入力操作」と「マウスの代替としてのペン
を使用してピックやドラッグを行う操作」が混在するこ
とになる。また、ポインティング・ディバイスとしてマ
ウスのみを備えた通常のパソコン等でも、「読み」の判
らない漢字の入力にマウスを使用した手書き入力が使用
される場合がある。本発明は、これらのいずれの場合に
も適用することができ、視認性、操作性ともによく、か
つ操作者に負担を掛けないで、切換えを行うことができ
る。
Further, the information equipment of the present invention is characterized in that a transparent window is set as a handwritten window frame so that the entire surface of the main body window display section is not hidden. As described above, in the present invention, the Windows O
By combining multiple functions that are standardly supported by S (a window generation function with a hole in it and a message hook function that intercepts system messages by the AP), the background is transparent, We propose a method of displaying a window whose size can be changed freely and discriminating a series of operations starting with pen down into this transparent window as pen operations. As a result, it is possible to separate and determine the pen operation and the mouse operation without hiding the display data of the application open behind and without performing an extra operation. Recently, PDA (Personal Digital Assis
In addition to personal information portable devices called “tants”, they are appearing in the personal computer market represented by pen computers. In these systems, a "handwriting input operation using a pen" and a "pick or drag operation using a pen instead of a mouse" are mixed. Further, even in a normal personal computer or the like having only a mouse as a pointing device, handwriting input using a mouse may be used for inputting a kanji character whose reading is not understood. The present invention can be applied to any of these cases, has good visibility and operability, and can be switched without burdening the operator.

【0008】[0008]

【発明の実施の形態】以下、本発明の実施例を、図面に
より詳細に説明する。図1は、本発明が適用される典型
的なペンコンピュータの外観斜視図である。図1におい
て、ペンコンピュータはCPU、メモリを含むペンコン
ピュータ本体1と、表示部およびタッチパネル部2と、
ペン3とで構成される。図1では、透明なウィンドウを
利用したペン操作/マウス操作の切換えであるため、背
後に開いている本来のアプリケーション画面が見えなく
なるという心配はなく、その結果、視認性がよくなり、
操作性の向上が図れる。また、図1では、ペン操作/マ
ウス操作の切換えボタンは備えられておらず、不要であ
るため、ボタン押下のような不要な操作を省くことがで
き、その結果、切換えボタンの押し下げを忘れることに
よる操作上の混乱を避けることができる。
Embodiments of the present invention will be described below in detail with reference to the drawings. FIG. 1 is an external perspective view of a typical pen computer to which the present invention is applied. In FIG. 1, a pen computer includes a CPU, a pen computer main body 1 including a memory, a display unit and a touch panel unit 2,
And a pen 3. In FIG. 1, since the operation is switched between the pen operation and the mouse operation using the transparent window, there is no fear that the original application screen opened behind becomes invisible, and as a result, the visibility is improved,
Operability can be improved. In FIG. 1, a switch button for pen operation / mouse operation is not provided and is unnecessary, so that unnecessary operations such as pressing a button can be omitted, and as a result, the user can forget to depress the switch button. Can avoid operational confusion.

【0009】図2は、本発明の一実施例を示すポインテ
ィングデバイス制御部のソフトウェア機能構成図であ
る。本実施例のソフトウエアは、本体ウィンドウを表示
する本体ウィンドウ表示部20、透明ウィンドウを表示
する透明ウィンドウ表示部30、メッセージフック設
定、解除部40、トレース表示、消去部50、ポインテ
ィング・ディバイスのイベントを監視するイベント・モ
ニター部60、および前記の各処理部を制御する全体制
御部10で構成される。本体ウィンドウ表示部20はペ
ンコンピュータ本体1を構成する表示装置およびタッチ
パネル70のほぼ全体の領域を占有しており、透明ウィ
ンドウ表示部30はその中の一部領域だけを占有する1
以上の文字入力枠からなる。メッセージフック設定、解
除部40は、画面全体に対するペンによる入力があった
場合に、フック機能をOFFにして、そのイベントをシ
ステム(OS)に渡す。また、透明ウィンドウ表示部3
0へ入力があった場合には、このイベントをシステム
(OS)に渡すことなく自アプリケーションに取込むフ
ック機能をONにして、ペン座標を取込み、ペンのトレ
ースを表示する。図2の矢印で示すように、表示部2
0,30および設定、解除部40、トレース表示、消去
部50はいずれも表示装置およびタッチパネル70に対
して動作を行い、表示装置およびタッチパネル70に対
して行われたイベントは、ポインティングデバイスのイ
ベントモニター部60によって監視、検出され、全体制
御部10に通知される。
FIG. 2 is a software functional configuration diagram of a pointing device control unit according to an embodiment of the present invention. The software of the present embodiment includes a main body window display section 20 for displaying a main body window, a transparent window display section 30 for displaying a transparent window, a message hook setting and canceling section 40, a trace display, an erasing section 50, and an event of a pointing device. And an overall control unit 10 for controlling each of the above-mentioned processing units. The main body window display section 20 occupies almost the entire area of the display device and the touch panel 70 constituting the pen computer main body 1, and the transparent window display section 30 occupies only a partial area therein.
It consists of the above character input boxes. The message hook setting / releasing unit 40 turns off the hook function and passes the event to the system (OS) when there is an input with the pen on the entire screen. Also, the transparent window display unit 3
If there is an input to 0, the hook function for taking this event into its own application without passing it to the system (OS) is turned on, pen coordinates are taken, and a trace of the pen is displayed. As indicated by the arrow in FIG.
0, 30 and the setting / releasing unit 40, the trace display / erasing unit 50 all operate on the display device and the touch panel 70, and the event performed on the display device and the touch panel 70 is the event monitor of the pointing device. The monitoring and detection are performed by the unit 60, and the overall control unit 10 is notified.

【0010】図3は、ポインティング・ディバイスの制
御方法による画面の表示例を示す図である。図3におい
て、95、90が透明な文字入力枠であり、80が同時
に実行中のアプリケーション(例えば、文書作成ソフ
ト)のデータ表示画面である。透明な文字入力枠、つま
り透明ウィンドウ95,90は、位置と大きさを自在に
変更可能であって、別途に設けたスイッチやマウス移動
等により位置および大きさを任意に設定する。また、最
初の文字だけは、透明ウィンドウ95,90の枠内に書
き込むが、一旦、モニターにより透明ウィンドウ内で発
生したことが判別された後は、連続して書き込まれる一
連のイベント情報は、透明ウィンドウ95,90の範囲
を超えた範囲に書き込まれても、一連の情報として取り
込まれる。ここでは、アプリケーション画面80の中に
2箇所の透明文字入力枠90,95が表示されており、
例えば最初に通常の文書作成を行う場合には、透明文字
入力枠90,95を下方に設定しておき、上方から順次
文字入力・表示を行い文章を作成する。その途中で手書
文字『ペン』の入力の箇所があるならば、透明文字入力
枠95の領域内に『ペ』の文字を、90の領域内に
『ン』の文字を、それぞれ入力する。図3に示すよう
に、本実施例によれば、使用者は本来の入力対象である
ワープロソフトやメールソフトの作成中の文章を確認し
ながら、モード切換えのボタン操作など本来不要な操作
を行うことなく、手書き文字の入力操作とマウスとして
の操作を自然な形で実行することが可能となる。
FIG. 3 is a diagram showing a display example of a screen according to the pointing device control method. In FIG. 3, reference numerals 95 and 90 denote transparent character input boxes, and reference numeral 80 denotes a data display screen of an application (for example, document creation software) being executed at the same time. The positions and sizes of the transparent character input frames, ie, the transparent windows 95 and 90, can be freely changed, and the positions and sizes of the transparent windows 95 and 90 can be arbitrarily set by separately provided switches or mouse movement. Although only the first character is written in the frames of the transparent windows 95 and 90, once it is determined by the monitor that the event has occurred in the transparent window, a series of event information written continuously is transparent. Even if the data is written in a range beyond the range of the windows 95 and 90, it is taken in as a series of information. Here, two transparent character input frames 90 and 95 are displayed in the application screen 80.
For example, when a normal document is created first, the transparent character input frames 90 and 95 are set downward, and characters are input and displayed sequentially from the top to create a sentence. If there is an input location of the handwritten character "pen" on the way, the character "pe" is input in the area of the transparent character input frame 95, and the character "n" is input in the area 90. As shown in FIG. 3, according to the present embodiment, the user performs an operation that is originally unnecessary, such as a button operation for mode switching, while checking the text being created for the word processor software or mail software that is the original input target. Without this, the input operation of the handwritten character and the operation as the mouse can be executed in a natural manner.

【0011】図4は、本発明の一実施例を示すペン操作
とマウス操作の切換え方法の動作フローチャートであ
る。図4を用いて本発明の処理の流れを解説する。先
ず、透明ウィンドウ表示部30により透明ウィンドウを
生成し、表示する(ステップ100)。次に、メッセージ
フック設定、解除部40により画面全体に対するペンに
よるイベントをシステム(OS)に渡さず、自アプリケ
ションに取込むフック機能をONの状態にする(ステッ
プ110)。次に、ポインティング・ディバイスのイベ
ントモニター部60により上記処理、すなわち透明ウィ
ンドウ生成およびフック機能のON(ステップ100,
110)、またはペンによるイベントをシステム(O
S)に渡す処理(ステップ150)を行った後に、最初
のペンダウン・イベントを取得する(ステップ12
0)。全体制御部10に設定された終了ボタンが押され
た時、メッセージフック設定、解除部40によりフック
機能をOFFにし透明ウィンドウを閉じる(ステップ1
30)。終了ボタンでない時に、全体制御部10により
ペンダウンの位置が透明ウィンドウの内か外かを判別す
る(ステップ140)。
FIG. 4 is an operation flowchart of a method for switching between pen operation and mouse operation according to an embodiment of the present invention. The processing flow of the present invention will be described with reference to FIG. First, a transparent window is generated and displayed by the transparent window display unit 30 (step 100). Next, the message hook setting / release unit 40 does not pass the event of the entire screen by the pen to the system (OS), and turns on the hook function for taking in the own application (step 110). Next, the above processing, that is, the generation of the transparent window and the turning on of the hook function are performed by the event monitor unit 60 of the pointing device (Step 100,
110), or the event with the pen (O)
After performing the process of passing to S) (step 150), the first pen-down event is obtained (step 12).
0). When the end button set in the overall control unit 10 is pressed, the hook function is turned off by the message hook setting / release unit 40 and the transparent window is closed (step 1).
30). If it is not the end button, the overall control unit 10 determines whether the pen down position is inside or outside the transparent window (step 140).

【0012】ペンダウンが透明ウィンドウの外の場合に
は、全体制御部10によりペンダウンイベントをそのま
まマウスイベントとしてシステム(OS)に渡す(ステ
ップ150)。一方、ペンダウンが透明ウィンドウの内
側の場合に、ポインティングディバイスのイベントモニ
ター部60により以降の一連のペンによるイベントをフ
ックするとともに(ステップ160)、トレース表示、
消去部50によりイベントデータを自アプリケーション
に取込む為のバッファを作成する。ポインティング・デ
ィバイスのイベントモニター部60により、フックした
イベントに付随する情報としてペン座標をステップ16
0で作成したバッファに取込む(ステップ170)。次
に、トレース表示、消去部50により取込んだ座標を元
にペンのトレースを表示する(ステップ180)。次
に、ポインティング・ディバイスのイベントモニター部
60により、イベント発生の時間間隔をモニタして、そ
の間隔により処理を分岐する(ス扱ップ190)。一定
時間以上イベントが発生しない場合に、トレース表示、
消去部50により表示していたトレースを消去し(ステ
ップ200)、ステップ120の処理(つまり、最初の
ペンダウンイベント取得処理)に戻る。一方、一定時間
内にイベントが発生した場合には、ステップ160に戻
って、それ以降の一連のペンによるイベントをフックす
る。
If the pen down is outside the transparent window, the overall control unit 10 passes the pen down event as it is to the system (OS) as a mouse event (step 150). On the other hand, when the pen down is inside the transparent window, the event monitor unit 60 of the pointing device hooks the subsequent series of events by the pen (step 160), and trace display,
The erasing unit 50 creates a buffer for taking event data into its own application. The pen coordinates are stored as information accompanying the hooked event by the event monitor unit 60 of the pointing device in step 16.
The data is taken into the buffer created in step 0 (step 170). Next, a pen trace is displayed based on the coordinates taken by the trace display / erase unit 50 (step 180). Next, the event monitor 60 of the pointing device monitors the time interval of the occurrence of the event, and the process branches depending on the interval (step 190). If no event occurs for a certain period of time, trace display,
The trace displayed by the erasing unit 50 is erased (step 200), and the process returns to step 120 (that is, the first pen down event acquisition process). On the other hand, if an event occurs within a predetermined time, the process returns to step 160 to hook a series of subsequent events by the pen.

【0013】なお、図4において、ステップ110の
「ペンによるイベントのフック機能ON」は、実際にフ
ックするのではなく、フック機能をON、つまり使用で
きる状態にするための開始宣言を行っているのに対し
て、ステップ160の「ペンによるイベントをフック」
は、イベントメッセージを実際にフックする、つまり自
アプリケーションプログラムに取込む処理を行うことを
意味している。また、ステップ150の「イベントをシ
ステム(OS)に渡す」は、フック機能のみをONにし
た状態であるため、特にフックOFFをする必要はな
い。ただし、ステップ130の「終了ボタン」が押下さ
れた場合や、その他の機能切換えボタン(例えば、ソフ
トキーボード機能への切換え)が押下された場合には、
「メッセージフックをOFF」にする必要がある。
In FIG. 4, "ON ON Hook Function of Event with Pen" in step 110 does not actually hook, but declares a start to turn ON the hook function, that is, to make it usable. On the other hand, in step 160, "Hook event by pen"
Means that the event message is actually hooked, that is, a process of taking the event message into its own application program is performed. In the case of "pass event to system (OS)" in step 150, only the hook function is turned on, so there is no need to turn off the hook. However, when the “end button” in step 130 is pressed, or when another function switching button (for example, switching to a soft keyboard function) is pressed,
"Message hook must be turned off".

【0014】[0014]

【発明の効果】以上説明したように、本発明によれば、
透明なウィンドウを利用したペン操作/マウス操作の切
換えを行うので、背後に開いている本来の入力対象であ
るアプリケーションの情報を確認しながら操作を行え、
その結果、視認性が飛躍的によくなる。また、ペン操作
/マウス操作の切換えボタンを不要としたので、本来不
要な操作を省くことが出来、かつ切換えボタンの押し下
げを忘れる事による操作上の混乱を避けることができ、
操作性の向上が図れる。
As described above, according to the present invention,
Switching between pen operation and mouse operation using a transparent window allows you to operate while checking the information of the application that is the original input target open behind,
As a result, visibility is dramatically improved. In addition, since the switch button for pen operation / mouse operation is not required, unnecessary operations can be omitted, and operational confusion caused by forgetting to press down the switch button can be avoided.
Operability can be improved.

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

【図1】本発明が適用される典型的な例としてのペンコ
ンピュータ外観斜視図である。
FIG. 1 is an external perspective view of a typical pen computer to which the present invention is applied.

【図2】本発明のペン操作とマウス操作の切換え方法の
ソフトウェア機能構成図である。
FIG. 2 is a software functional configuration diagram of a method for switching between a pen operation and a mouse operation according to the present invention.

【図3】本発明を実施した場合の表示例を示す図であ
る。
FIG. 3 is a diagram showing a display example when the present invention is implemented.

【図4】本発明のペン操作とマウス操作の切換え方法を
示すフローチャートである。
FIG. 4 is a flowchart illustrating a method for switching between a pen operation and a mouse operation according to the present invention.

【符号の説明】[Explanation of symbols]

1…CPU、メモリを含むペンコンピュータ本体、2…
表示部およびタッチパネル部、3…ペン、10…全体制
御部、20…本体ウィンドウ表示部、30…透明ウィン
ドウ表示部、40…メッセージフック設定、解除部、5
0…トレース表示、消去部、60…ポインティングディ
バイスのイベントモニター部、70…表示装置およびタ
ッチパネル、80…透明ウィンドウの背後に開いている
アプリケーション画面、90,95内の文字…ペンによ
る手書き文字のトレース表示、90,95…透明ウィン
ドウ。
1 ... pen computer body including CPU and memory, 2 ...
Display section and touch panel section, 3 pen, 10 whole control section, 20 body window display section, 30 transparent window display section, 40 message hook setting and release section, 5
0: Trace display and deletion unit, 60: Event monitor unit of pointing device, 70: Display device and touch panel, 80: Application screen opened behind transparent window, Characters in 90, 95: Trace of handwritten characters by pen Display, 90, 95 ... Transparent window.

フロントページの続き Fターム(参考) 5B087 AA09 AB14 BC03 CC01 CC05 CC26 DD02 DD10 5E501 AA02 AC37 BA03 BA05 CA03 CA04 CB05 CB11 CC04 EA14 EB05 FA02 Continued on the front page F term (reference) 5B087 AA09 AB14 BC03 CC01 CC05 CC26 DD02 DD10 5E501 AA02 AC37 BA03 BA05 CA03 CA04 CB05 CB11 CC04 EA14 EB05 FA02

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 ペン操作とマウス操作を切換えるポイン
ティング・ディバイスの制御方法であって、 画面上に位置と大きさを自在に変更可能な透明ウィンド
ウを生成し、 メッセージフック機能を使ってペンダウン・イベント情
報を取得し、 前記ペンダウン・イベント情報を参照して、該ペンダウ
ン・イベントが前記透明ウィンドウ内で発生したか、前
記透明ウィンドウ外で発生したかを判別し、 該ペンダウン・イベント位置が透明ウィンドウ内の場合
は、後続のペン操作に伴い発生する一連のイベント情報
を手書き入力操作情報として取込み、ペンダウン状態で
のペン移動に伴う位置座標データを保持し、かつ該位置
座標データを画面にトレース表示し、さらにペンアップ
・イベント発生後、一定時間経過後に前記トレース表示
を消去して、手書き入力モードを解除し、 該ペンダウン・イベント位置が透明ウィンドウ外の場合
は、後続の一連の操作により発生するマウス・イベント
情報を、そのままシステムに渡し、マウス操作モードと
して処理することを特徴としたポインティング・ディバ
イスのペン操作とマウス操作の切換え方法。
1. A pointing device control method for switching between pen operation and mouse operation, wherein a transparent window whose position and size can be freely changed on a screen is generated, and a pen-down event is generated using a message hook function. Acquiring the information, determining whether the pen-down event has occurred within the transparent window or outside the transparent window by referring to the pen-down event information, and determining whether the pen-down event position is within the transparent window. In the case of, a series of event information generated with the subsequent pen operation is taken in as handwriting input operation information, the position coordinate data accompanying the pen movement in the pen down state is held, and the position coordinate data is trace displayed on the screen. After the pen-up event has occurred, the trace display is erased after a certain period of time. The handwriting input mode is canceled, and when the pen-down event position is outside the transparent window, mouse event information generated by a series of subsequent operations is directly passed to the system and processed as the mouse operation mode. How to switch between pointing device pen operation and mouse operation.
【請求項2】 請求項1に記載のペン操作とマウス操作
の切換え方法において、 前記ペンダウン・イベント位置が透明ウィンドウ内で発
生したと判別された場合には、後続の一連のペン操作が
該透明ウィンドウの範囲を超えた領域で発生しても、該
一連のペンダウン・イベントを手書き入力操作情報とし
て取込むことを特徴とするペン操作とマウス操作の切換
え方法。
2. The method for switching between a pen operation and a mouse operation according to claim 1, wherein if it is determined that the pen-down event position has occurred in a transparent window, a subsequent series of pen operations is performed on the transparent window. A method for switching between a pen operation and a mouse operation, wherein a series of pen-down events is taken in as handwriting input operation information even if the event occurs in an area beyond the range of the window.
【請求項3】 1つのポインティング・ディバイスで操
作されたペンダウン・イベントが文字入力枠内に対して
行われた場合はペン操作モードと判別し、該文字入力枠
外に対して行われた場合はマウス操作モードと判別する
イベントモニター部と、 前記文字入力枠として、位置および寸法を自在に変更可
能な透明ウィンドウを生成・表示する透明ウィンドウ表
示部とを有することを特徴とする情報機器。
3. A pen operation mode is determined when a pen-down event operated by one pointing device is performed within a character input box, and when the pen-down event is performed outside the character input box, a mouse is used. An information device, comprising: an event monitor unit that determines an operation mode; and a transparent window display unit that generates and displays a transparent window whose position and dimensions can be freely changed as the character input frame.
JP29489299A 1999-10-18 1999-10-18 Method for switching pen operation and mouse operation and information equipment using the method Pending JP2001117685A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP29489299A JP2001117685A (en) 1999-10-18 1999-10-18 Method for switching pen operation and mouse operation and information equipment using the method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP29489299A JP2001117685A (en) 1999-10-18 1999-10-18 Method for switching pen operation and mouse operation and information equipment using the method

Publications (1)

Publication Number Publication Date
JP2001117685A true JP2001117685A (en) 2001-04-27

Family

ID=17813610

Family Applications (1)

Application Number Title Priority Date Filing Date
JP29489299A Pending JP2001117685A (en) 1999-10-18 1999-10-18 Method for switching pen operation and mouse operation and information equipment using the method

Country Status (1)

Country Link
JP (1) JP2001117685A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7456824B2 (en) 2003-07-01 2008-11-25 Canon Kabushiki Kaisha Coordinate input apparatus with region recognition
JP2016162032A (en) * 2015-02-27 2016-09-05 セイコーエプソン株式会社 Display device, display control method, and program
WO2021025457A1 (en) * 2019-08-06 2021-02-11 삼성전자 주식회사 Electronic device for recognizing stylus pen and method for operating same

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7456824B2 (en) 2003-07-01 2008-11-25 Canon Kabushiki Kaisha Coordinate input apparatus with region recognition
JP2016162032A (en) * 2015-02-27 2016-09-05 セイコーエプソン株式会社 Display device, display control method, and program
WO2021025457A1 (en) * 2019-08-06 2021-02-11 삼성전자 주식회사 Electronic device for recognizing stylus pen and method for operating same
US11874978B2 (en) 2019-08-06 2024-01-16 Samsung Electronics Co., Ltd Electronic device for recognizing stylus pen and method of operating the same

Similar Documents

Publication Publication Date Title
RU2407992C2 (en) Improved mobile communication terminal and method
US6806893B1 (en) System and method for displaying simulated three dimensional buttons in a graphical user interface
JP4412737B2 (en) Information display device
US5559942A (en) Method and apparatus for providing a note for an application program
US6903730B2 (en) In-air gestures for electromagnetic coordinate digitizers
US20070038955A1 (en) Pen-based computer system having first and second windows together with second window locator within first window
US7499033B2 (en) System and method for injecting ink into an application
CN105302784B (en) Method and system for copying/cutting and pasting data
US20020057263A1 (en) Simulating gestures of a pointing device using a stylus and providing feedback thereto
US20040257346A1 (en) Content selection and handling
US20090284488A1 (en) Electronic device and method for handwritten inputs
US20090091547A1 (en) Information display device
JPH1165769A (en) Touch panel display control method and recording medium for recording the same
CN107526567B (en) Information processing apparatus, input method, and storage medium
US20130127745A1 (en) Method for Multiple Touch Control Virtual Objects and System thereof
JPH10154042A (en) Information processor having touch panel
WO2023231871A1 (en) Display control method and apparatus, and electronic device and readable storage medium
JP2009116727A (en) Image input display
US20150338945A1 (en) Information processing device and information updating program
JPH0561632A (en) Icon display device
JP2001117685A (en) Method for switching pen operation and mouse operation and information equipment using the method
JPH11353071A (en) Data input device and storage medium
KR20100041150A (en) A method for controlling user interface using multitouch
JP2783472B2 (en) Information processing device
JP2003140791A (en) Information processor and method for controlling information processor

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040917

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20061221

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20061226

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20070417