JPH0281094A - Cursor controlling system - Google Patents

Cursor controlling system

Info

Publication number
JPH0281094A
JPH0281094A JP23248188A JP23248188A JPH0281094A JP H0281094 A JPH0281094 A JP H0281094A JP 23248188 A JP23248188 A JP 23248188A JP 23248188 A JP23248188 A JP 23248188A JP H0281094 A JPH0281094 A JP H0281094A
Authority
JP
Japan
Prior art keywords
cursor
data
menu
program
keyboard
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
JP23248188A
Other languages
Japanese (ja)
Inventor
Keiichi Nakane
啓一 中根
Kazunari Suzuki
一成 鈴木
Toshio Kushida
敏夫 櫛田
Hideki Kuwamoto
英樹 桑本
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 Ltd
Hitachi Industry and Control Solutions Co Ltd
Original Assignee
Hitachi Ltd
Hitachi Microsoftware Systems Inc
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 Ltd, Hitachi Microsoftware Systems Inc filed Critical Hitachi Ltd
Priority to JP23248188A priority Critical patent/JPH0281094A/en
Publication of JPH0281094A publication Critical patent/JPH0281094A/en
Pending legal-status Critical Current

Links

Landscapes

  • Input From Keyboards Or The Like (AREA)
  • Position Input By Displaying (AREA)

Abstract

PURPOSE:To make operations performed by using a designating device and operations performed by using a keyboard to match each other by providing a means which saves and restores the positional information of a mouse cursor and another means which positions the mouse cursor on a menu. CONSTITUTION:Input data from a keyboard 2 enter an input controlling program 6. The program 6 stores the content of cursor position data 8 in a cursor saving area 14. A cursor position setting program 12 sets the coordinate value of the position on a display screen in the data 8. A cursor controlling program 9 adds the moving quantity of a designating device 3 obtained from the device 3 to the coordinate value of the data 8 and requests a display control 5 to display a mouse cursor. When the menu operation is terminated by an instruction from the keyboard 2 or device 3 thereafter, a cursor data restoring program 13 clears the area 14 by setting the coordinate value stored in the area 14 in the data 8. The coordinate value of the data 8 is reflected on the mouse cursor on the screen.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、コマンド・メニューを画面に表示し。[Detailed description of the invention] [Industrial application field] The present invention displays a command menu on the screen.

使用者がそれを選択することにより、計算機に動作指示
を与える計算機システムに係り、特にマウスと呼ばれる
装置に代表される指示装置等に連動して、表示装置上に
表示されるカーソルの制御を行うカーソル制御方式に関
する。
Pertains to a computer system in which a user selects a command to instruct a computer to operate, and in particular controls a cursor displayed on a display device in conjunction with an instruction device such as a device called a mouse. Regarding cursor control method.

〔従来の技術〕[Conventional technology]

昨今、パーソナル・コンピュータを始めとするパーソナ
ル・ユースの機器においては1表示装置を基本とする対
話形処理が中心となってきている。
In recent years, interactive processing based on a single display device has become central to devices for personal use such as personal computers.

このような機器では、システムの動作を指示するコマン
ドを、表示装置上に表示し、ユーザが指示装置を用いて
、これを選択することにより、システムが動作するとい
うコマンド・メニュ一方式を用いているものが多い、一
般に、このコマンド・メニュ一方式は2表示画面の上部
に複数の基本的なコマンドを表示しく以下、基本メニュ
ーと呼ぶ)、ユーザがそれらの一つを指示すると、その
コマンドに関連するコマンド群を表示画面上に表示しく
以下、サブメニューと呼ぶ)、再びユーザがそれらの内
−つを指示することにより、システムの動作が決定され
るという方式である。
Such equipment uses a command menu system in which commands that instruct system operations are displayed on a display device, and the system operates when the user selects them using the instruction device. In general, this one-sided command menu displays multiple basic commands at the top of the two-display screen (hereinafter referred to as the basic menu), and when the user specifies one of them, that command is displayed. In this system, a group of related commands are displayed on the display screen (hereinafter referred to as submenus), and the user again instructs one of them to determine the operation of the system.

また、このような機器では、前記のようなコマンドをユ
ーザが容易に選択する手段として、マウスと呼ばれる装
置に代表される指示装置を用い、該指示装置と連動して
表示画面上を移動し、指示位置を示すマウスカーソルと
呼ばれるマークを表示し、そのマウスカーソルを表示画
面上の選択の対象となるコマンド等と重ね合わすことに
より、コマンド等を指定する方法が多く見受けられる。
In addition, in such devices, as a means for the user to easily select the above-mentioned commands, a pointing device typified by a device called a mouse is used, and the pointing device is moved on the display screen in conjunction with the pointing device. There are many methods for specifying a command, etc. by displaying a mark called a mouse cursor that indicates the specified position, and placing the mouse cursor over the command, etc. to be selected on the display screen.

一般に、このような指示装置には1表示画面上の点を指
示するためにいくつかのボタンが設けられているものが
多い、これらのボタンは、前記のコマンド等の指示時等
に用いられる。たとえば、ユーザはマウスカーソルをコ
マンド等と重ねあわせた後、ボタンを押して、システム
にコマンドを指示したことを伝える。
Generally, such indicating devices are often provided with several buttons for indicating points on one display screen, and these buttons are used when specifying the above-mentioned commands, etc. For example, a user places a mouse cursor over a command, etc., and then presses a button to inform the system that the command has been specified.

このような方法は、オーム社発行のA、 Gold−b
erg著、’ SMALLTALK−80対話的プロゲ
ラミグ環境1の32〜33ページに詳細されている。
This method is described in A, Gold-b published by Ohmsha.
'SMALLTALK-80 Interactive Progeramig Environment 1', pages 32-33, by J. E. Erg.

さて、前記のようなコマンド・メニュ一方式では、その
操作の方法が機器全体の使い勝手に大きく影響してくる
。一般に、この操作は、操作手順が少ないほど、簡単で
使い易いものとなる。
Now, in the one-sided command/menu system as described above, the method of operation has a great influence on the usability of the entire device. In general, this operation becomes simpler and easier to use as the number of operating steps is reduced.

従来、マウス等の指示装置を用いてメニューを操作する
場合は、次のように行われていた。
Conventionally, when operating a menu using a pointing device such as a mouse, the procedure was as follows.

まず、ユーザはメニュー操作を開始するため、基本メニ
ュー上にマウスカーソルを移動させ、指示装置に設けら
れたボタンを押して放す(以下。
First, in order to start menu operation, the user moves the mouse cursor over the basic menu, presses and releases the button provided on the pointing device (hereinafter referred to as "the button").

この動作をクリックと呼ぶ)、このときシステムは、指
示された基本メニューに対応するサブメニューを表示す
る1次に、ユーザは、指示したいサブメニュー上にマウ
スカーソルを移動させ、クリックを行う、そして、サブ
メニューの−っである実行コマンド上にマウスカーソル
を移動し、クリックする。システムは、実行コマンドが
クリックされると、サブメニューを消去してメニュー操
作を終了させ、先に指定されたコマンドに対応する動作
を行う、また、ユーザが誤操作等でサブメニューを表示
させてしまったときは、サブメニューの一つである取消
コマンド上にマウスカーソルを移動し、クリックするこ
とにより、操作を取消し。
This action is called a click), at which time the system displays a submenu corresponding to the specified basic menu.Next, the user moves the mouse cursor over the submenu he or she wishes to specify and clicks. , move the mouse cursor over the execution command in the submenu and click. When the execution command is clicked, the system clears the submenu, terminates the menu operation, and performs the operation corresponding to the previously specified command. When the operation is canceled, move the mouse cursor over the Cancel command, which is one of the submenus, and click it.

終了することができる。このときシステムは、サブメニ
ューの消去のみを行う、このような操作法では、基本及
びサブメニューの選択・実行に要するステップ数が多い
ため1次のような操作ステップ数を削減した新しい操作
方法が考えられる。
can be terminated. At this time, the system only deletes the submenu. Since this operation method requires a large number of steps to select and execute the basic and submenus, a new operation method that reduces the number of operation steps is recommended. Conceivable.

この新しい方法では、操作開始時のクリック動作をなく
し、基本メニュー上にマウスカーソルが置かれた時点で
、サブメニューを表示するようにする。また、取消操作
時のクリック動作もなくし、基本メニュー及びサブメニ
ューの外にマウスカーソルが移動することにより、サブ
メニューを消去し、取消、終了とするようにする。サブ
メニューの選択では、サブメニューがクリックされた時
点で、サブメニューを消去してメニュー操作を終了し、
実行コマンドのクリックを不要とするようにする。この
ような変更により、操作ステップ数は減り、使い易いコ
マンド・メニュ一方式ができるようになる。
This new method eliminates the initial click action and instead displays submenus when the mouse cursor hovers over the basic menu. Also, the click operation at the time of a cancellation operation is eliminated, and by moving the mouse cursor outside the basic menu and submenu, the submenu is erased, canceled, and ended. For submenu selection, when a submenu is clicked, it clears the submenu and ends the menu operation,
Make it unnecessary to click the execution command. These changes reduce the number of operational steps and create an easy-to-use command/menu system.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

ところで、前述の操作ステップ数を削減したコマンド・
メニュ一方式での操作において、従来からキーボードを
該指示装置と併用して用いる場合を考えると、次のよう
な問題点が生じてくることがわかる。
By the way, here is a command that reduces the number of operation steps mentioned above.
When considering the conventional case where a keyboard is used in conjunction with the pointing device in a one-menu operation, the following problems arise.

まず、第一に、キーボードを用いて、基本メニューを指
定し、引き続いて指示装置を用いて、サブメニューを指
定しようとした場合を考える。この場合は、キーボード
の特定のキーが押された時点で、該キーに対応する基本
メニューに関するサブメニューが表示される。このとき
、マウスカーソルは、基本メニューあるいはサブメニュ
ー上にはない場合がほとんどである。しかし、マウスを
用いた操作で、基本メニュー及びサブメニュー外へのマ
ウスカーソルの移動を中断操作とした場合。
First, let us consider a case in which a user attempts to specify a basic menu using a keyboard and subsequently specify a submenu using a pointing device. In this case, when a specific key on the keyboard is pressed, a submenu related to the basic menu corresponding to that key is displayed. In most cases, the mouse cursor is not on the basic menu or submenu. However, when using a mouse, moving the mouse cursor outside the basic menu or submenu is an interrupted operation.

サブメニュー表示時に基本・サブメニュー外にマウスカ
ーソルが位置するのは1問題がある。つまり、キーボー
ドを用いた操作と、指示装置を用いた操作に不整合が生
じることとなる。
There is one problem when the mouse cursor is positioned outside the basic/submenu when a submenu is displayed. In other words, there will be a mismatch between the operations using the keyboard and the operations using the pointing device.

第二に、前記第一の場合において、キーホードからの指
示によるサブメニュー表示時に、マウスカーソルを自動
的に、基本メニューあるいはサブメニュー上に移動させ
、操作の不整合をなくした場合にってい考える。一般に
、コマンド・メニューに対する操作は、文書の作成等の
何らかの編集操作の一過程として行われることが多く、
コマンド・メニューに対する操作が終った後は、再び該
編集操作が再開されることが多い、このような場合、キ
ーボードのみを用いてメニュー操作を行おうとしても、
マウスカーソルが自動的に動いてしまうため、編集操作
再開時に、再びマウスカーソルを編集操作に用いるため
に、メニュー操作前の位置まで動かす必要がある。つま
り、整合をとったために、全体の操作手順が増え、操作
性が悪化することとなる。
Second, in the first case, consider a case where the mouse cursor is automatically moved to the basic menu or submenu when a submenu is displayed by an instruction from the keyboard to eliminate inconsistencies in operation. . Generally, operations on command menus are often performed as part of some kind of editing operation such as creating a document.
After completing an operation on a command menu, the editing operation is often restarted. In such cases, even if you try to operate the menu using only the keyboard,
Since the mouse cursor moves automatically, when the editing operation is restarted, it is necessary to move the mouse cursor to the position before the menu operation in order to use it again for the editing operation. In other words, due to the consistency, the overall operation procedure increases and the operability deteriorates.

本発明の目的は、上記の問題点に鑑み、マウス等の指示
装置を用いたコマンド・メニュ一方式において、指示装
置等を用いた操作と、キーホードを用いた操作での不整
合をなくし、かつ、操作性の良いコマンド・メニュ一方
式を実現することが可能となるカーソル制御方式を提供
するものである。
In view of the above-mentioned problems, an object of the present invention is to eliminate inconsistencies between operations using a pointing device such as a mouse and operations using a keyboard in a one-sided command/menu system using a pointing device such as a mouse, and , provides a cursor control method that makes it possible to realize a one-sided command/menu system with good operability.

〔課題を解決するための手段〕[Means to solve the problem]

上記目的は、メニューに対する操作の開始時にマウスカ
ーソルの位置情報を格納しておく制御テーブルと、メニ
ュー操作開始時に該テーブルにマウスカーソルの位置情
報を退避する手段と、メニュー操作開始時にマウスカー
ソルをメニュー上に位置付ける手段と、操作終了時に上
記制御テーブルからマウスカーソルの位置情報を回復し
、その場所にマウスカーソルを再表示する手段を設ける
ことにより、達成される。
The above purpose is to provide a control table that stores the position information of the mouse cursor at the start of menu operation, a means for saving the position information of the mouse cursor to the table at the start of menu operation, and a control table that stores the position information of the mouse cursor at the start of menu operation. This is accomplished by providing means for positioning the mouse cursor on top of the mouse cursor, and means for restoring the position information of the mouse cursor from the control table at the end of the operation and redisplaying the mouse cursor at that location.

[作用〕 マウス等の指示装置とキーボードを用いたコマンド・メ
ニュ一方式での操作において、前述の各手段やデータは
以下のように作用する。
[Operation] In operation using a command/menu method using a pointing device such as a mouse and a keyboard, each of the above-mentioned means and data operates as follows.

まず、基本メニューに対応するキーの押下によりメニュ
ー操作の開始が指示された場合は1位置情報を退避する
手段を用いて、その時のマウスカーソルの位置情報を、
位置情報を格納する制御テーブルに退避する0次にマウ
スカーソルを位置付ける手段を用いて、マウスカーソル
を基本メニュー上あるいはサブメニュー上に位置付ける
。押下られたキーに対応する基本メニューに関するサブ
メニューの表示は、上記のマウスカーソル位置情報の退
避の前あるいは後あるいはマウスカーソルの位置付けの
後のいずれかのときに行う。
First, when the start of menu operation is instructed by pressing the key corresponding to the basic menu, a means for saving 1 position information is used to save the position information of the mouse cursor at that time.
The mouse cursor is positioned on the basic menu or submenu using a zero-order mouse cursor positioning means that is saved in a control table that stores position information. A submenu related to the basic menu corresponding to the pressed key is displayed either before or after saving the mouse cursor position information or after positioning the mouse cursor.

また、メニューに対する操作の終了時には1位置情報を
回復する手段を用いて1位置情報を格納するテーブルに
退避されているマウスカーソルの位置情報を回復する。
Furthermore, when the operation on the menu ends, the position information of the mouse cursor saved in the table storing the one-position information is recovered using means for restoring one-position information.

マウスカーソルの表示画面上での位置は、この後に行わ
れるマウスカーソルの表示により、もとの位置に表示さ
れる。サブメニューの消去は、上記のマウスカーソルの
回復の′前あるいは後に行われる。
The position of the mouse cursor on the display screen is returned to its original position by subsequent display of the mouse cursor. Deleting the submenu may occur before or after restoring the mouse cursor as described above.

〔実施例〕〔Example〕

以下、本発明の一実施例を図を用いて説明する。 An embodiment of the present invention will be described below with reference to the drawings.

第2図は1本発明に係る計算機システム、たとえば、ワ
ードプロセッサや、パーソナルコンピュータなどのシス
テムの構成例を示すものである。
FIG. 2 shows an example of the configuration of a computer system according to the present invention, such as a word processor or a personal computer.

システムは、主処理装ff (CPU)20.主メモリ
(MM)21.表示処理装置(GP)22.表示メモリ
(FM)23.表示デイスプレィ制御装置(CRTC)
24.表示デイスプレィ(4)。
The system has a main processing unit ff (CPU) 20. Main memory (MM)21. Display processing device (GP) 22. Display memory (FM)23. Display display control device (CRTC)
24. Display display (4).

磁気ディスク装置(DC)25.磁気ディスク(DIS
K)26.キーボード制御装置(KBC)27、キーボ
ード(KB)2.指示制御装置(PDC)29、マウス
等の指示装置J (PD)3.プリンタ制御′−J装置
(PRC)30.プリンタ(PR)31.および共通バ
ス32などから構成される。
Magnetic disk device (DC)25. Magnetic disk (DIS)
K)26. Keyboard control device (KBC) 27, keyboard (KB) 2. Instruction control device (PDC) 29, instruction device J (PD) such as a mouse3. Printer control'-J device (PRC) 30. Printer (PR)31. and a common bus 32.

第2図を用いて表示の方法を簡単に説明する。The display method will be briefly explained using FIG.

CPU20にて実行中のプログラムPにより、CRT4
に図形あるいは文字を表示する場合には、まず、表示し
ようとする図形あるいは文字データ(これらは、一般的
には図形描画コマンド列や文字コード列である)をプロ
グラムPによって作成し1次いでGP22に実行要求を
出す、実行要求を受けたGP22は、該図形あるいは文
字データを取り出し、該データをCRT4上の各表示点
に対応したドツト・データに展開し、FM23上の表示
位置に対応した箇所に該ドツト・データを格納する。一
方、CRT4の表示制御装置CRTC24は、一定周期
でFM23をスキャンし、その内容に従ってCRT4に
表示を行っている。従って、FM23に格納された該ド
ツト・データは、CRTC24によって直ちにCRT4
上に表示されることになる。
By the program P running on the CPU 20, the CRT 4
When displaying figures or characters, first create the figures or character data to be displayed (these are generally figure drawing command strings or character code strings) using program P, and then send them to GP22. The GP 22 that issues an execution request or receives an execution request extracts the graphic or character data, develops the data into dot data corresponding to each display point on the CRT 4, and places it in a location corresponding to the display position on the FM 23. Store the dot data. On the other hand, the display control device CRTC24 of the CRT 4 scans the FM 23 at regular intervals and displays the information on the CRT 4 according to the content. Therefore, the dot data stored in the FM23 is immediately transferred to the CRT4 by the CRTC24.
It will be displayed on top.

また、指示装置の働きは、次のようになっている。まず
、PD3がオペレータにより動かされた場合、PD3は
状態の変化をPDC29に伝える。
The function of the indicating device is as follows. First, when the PD3 is moved by the operator, the PD3 notifies the PDC 29 of the change in status.

PDC29では、伝えられた信号を変換し、移動量など
のデータをCPU20に通知する。また、PDC29は
、PD3の状態に変化が生じなくても、一定周期ごとに
、CPU20にその時のPD3の状態を表すデータを通
知する。CPU20では、該データの通知により、あら
かじめ設定されていたプログラムIを、自動的に実行す
る。プログラムエは、該データを、CRT4上の位置座
標に変換し、該位置にカーソルを表示するため、カーソ
ルデータを作成し、GP22に実行要求を出す、以降は
前述の処理と同様な処理が行われ、カーソルがCRT4
上に表示される。
The PDC 29 converts the transmitted signal and notifies the CPU 20 of data such as the amount of movement. Furthermore, even if the state of the PD 3 does not change, the PDC 29 notifies the CPU 20 of data representing the current state of the PD 3 at regular intervals. In response to the data notification, the CPU 20 automatically executes the preset program I. The program converts the data into position coordinates on the CRT 4, creates cursor data to display a cursor at the position, and issues an execution request to the GP 22. From then on, the same processing as described above is performed. I, the cursor is CRT4
displayed above.

第3図(α)、(b)は、本発明に係るコマンド・メニ
ュ一方式の例を示したものである。
FIGS. 3(α) and 3(b) show an example of a one-type command menu according to the present invention.

第3図(α)では、表示画面33の上部に、基本メニュ
ー30が表示されている。マウスカーソル40は指示装
置a3の動きに連動して表示画面33上を移動する。ま
た、キーボード2には、基本メニュー30に対応したメ
ニューキー32がある。ここで、マウスカーソル40を
基本メニュー30上に移動する、あるいはメニューキー
32を押すことにより、指定された基本メニュー30に
対応するサブメニューが表示される。
In FIG. 3(α), a basic menu 30 is displayed at the top of the display screen 33. The mouse cursor 40 moves on the display screen 33 in conjunction with the movement of the pointing device a3. Further, the keyboard 2 has a menu key 32 corresponding to the basic menu 30. Here, by moving the mouse cursor 40 onto the basic menu 30 or pressing the menu key 32, a submenu corresponding to the specified basic menu 30 is displayed.

第3図(b)は、基本メニューの指示により、対応する
サブメニュー31を表示した状態を示している。マウス
カーソル40は、基本メニュー30上に移動している。
FIG. 3(b) shows a state in which a corresponding submenu 31 is displayed in response to an instruction from the basic menu. The mouse cursor 40 has been moved onto the basic menu 30.

この後、サブメニュー31に対する操作等がおこなわれ
た後、メニュー操作が終了すると第3図(α)の状態へ
ともどる。
Thereafter, after the submenu 31 is operated, etc., when the menu operation is completed, the state returns to the state shown in FIG. 3 (α).

第1図は、本発明に係るカーソル制御方式でのマウスカ
ーソルの位置制御法を説明した図である。
FIG. 1 is a diagram illustrating a method for controlling the position of a mouse cursor using a cursor control method according to the present invention.

入力制御プログラム6は、指示装置3及びキーボード2
から得られる入力データを処理し、アプリケーションプ
ログラム1に入力結果を渡す、メニュー制御プログラム
7に制御を移す、表示制御プログラム5にマウスカーソ
ルの表示要求を出す等の制御を行う0表示制御プログラ
ム5は、表示要求に従って、表示デイスプレィ4に表示
を行う。
The input control program 6 includes the instruction device 3 and the keyboard 2.
The display control program 5 processes the input data obtained from the 0 display control program 5, passes the input results to the application program 1, transfers control to the menu control program 7, issues a request to display the mouse cursor to the display control program 5, etc. , performs display on the display 4 according to the display request.

メニュー制御プログラム7は、指示装置3やキーボード
2から入力データを入力制御プログラム6より受取り、
メニューに関する操作を制御する。
The menu control program 7 receives input data from the instruction device 3 and the keyboard 2 from the input control program 6,
Control operations related to menus.

ここでまず、キーボード2からの指示によりメニュー操
作が始められた場合を考える。キーボード2からの入力
データは、入力割り出しプログラム10に入り、ここで
メニュー操作に関するものであると判断され、状態割り
出しプログラム15に制御がうつされる。状態割り出し
プログラム15では、入力データとメニューの状態から
メニュー操作の開始指示であると判断され、カーソルデ
ータ退避プログラム11及びカーソル位置設定プログラ
ム12を実行する。カーソル退避プログラム11は、カ
ーソル位置データ8の内容をカーソルデータ退避エリア
14に格納する。カーソル位置設定プログラム12は、
マウスカーソルを基本メニュー上に位置付けるために、
その位置の表示画面上での座標値を計算し、その値をカ
ーソル位置データ8に設定する。マウスカーソルがカー
ソル位置データの値に従って表示される機構は、次のよ
うになっている。カーソル退避プログラム9は、指示装
置3から得られた該装置の移動量を。
First, consider a case where a menu operation is started by an instruction from the keyboard 2. Input data from the keyboard 2 enters the input determining program 10, where it is determined that it pertains to menu operations, and control is transferred to the state determining program 15. The state determining program 15 determines from the input data and the state of the menu that it is an instruction to start menu operation, and executes the cursor data saving program 11 and the cursor position setting program 12. The cursor save program 11 stores the contents of the cursor position data 8 in the cursor data save area 14. The cursor position setting program 12 is
To position the mouse cursor over the basic menu,
The coordinate values of that position on the display screen are calculated and the values are set in the cursor position data 8. The mechanism by which the mouse cursor is displayed according to the value of cursor position data is as follows. The cursor saving program 9 calculates the amount of movement of the pointing device 3 obtained from the pointing device 3.

カーソル位置データ8に格納されている座標値に加える
。そして、該座標値に従ってマウスカーソルを表示する
よう表示要求を表示制御5に発行する。一般に、指示装
[3からは、一定の非常に短い時間間隔で移動量が該プ
ログラムに与えられる。
Add to the coordinate values stored in cursor position data 8. Then, a display request is issued to the display control 5 to display the mouse cursor according to the coordinate values. In general, the instruction device [3 provides the program with movement amounts at constant, very short time intervals.

従ってカーソル位置データ8に新たに設定された座標値
は、ただちに表示画面上のマウスカーソルの位置に反映
されることとなる。
Therefore, the coordinate values newly set in the cursor position data 8 are immediately reflected in the position of the mouse cursor on the display screen.

次に、キーボード2あるいは指示装置3からの指示によ
りメニュー操作が終了する場合を考える。
Next, consider a case where menu operation is terminated by an instruction from the keyboard 2 or the instruction device 3.

キーボード2あるいは指示装置3からの入力データは、
前記と同様な流れをへて状態割り出しプログラム15へ
渡る。状態割り出しプログラム15では、入力データと
メニューの状態からメニュー操作の終了指示であると判
断され、カーソルデータ回復プログラム13を実行する
。カーソルデータ回復プログラム13は、カーソルデー
タ退避エリア14に座標値が格納されているかを調べ、
格納されている場合はそれをカーソル位置データ8に設
定した後、次のメニュー操作に備えてカーソルデータ退
避エリアをクリアする。新たに設定されたカーソル位置
データ8の座標値は、前述の機構によりただちに表示画
面上のマウスカーソルに反映される。
Input data from the keyboard 2 or instruction device 3 is
The process goes to the status determining program 15 through the same flow as described above. The state determining program 15 determines from the input data and the state of the menu that it is an instruction to end the menu operation, and executes the cursor data recovery program 13. The cursor data recovery program 13 checks whether coordinate values are stored in the cursor data save area 14,
If it is stored, it is set in the cursor position data 8, and then the cursor data save area is cleared in preparation for the next menu operation. The newly set coordinate values of the cursor position data 8 are immediately reflected on the mouse cursor on the display screen by the aforementioned mechanism.

次に、このカーソルの制御について詳しく説明する。Next, this cursor control will be explained in detail.

第4図〜第8図は、本実施例に係るカーソルの制御に関
する処理手順を示したものである。ここには、カーソル
制御プログラム9.入力・状態割り出しプログラム20
0.カーソルデータ退避プログラム11.カーソル位置
設定プログラム12゜カーソルデータ回復プログラム1
3の処理手Jllrlを示す。
FIGS. 4 to 8 show processing procedures regarding cursor control according to this embodiment. Here, the cursor control program 9. Input/state determination program 20
0. Cursor data save program 11. Cursor position setting program 12゜Cursor data recovery program 1
3 processing move Jllrl is shown.

以下に、第4図〜第8図を用いて各処理手順を説明する
Each processing procedure will be explained below using FIGS. 4 to 8.

(1)カーソル制御 第4図にカーソル制御プログラム9の処理手順を示す。(1) Cursor control FIG. 4 shows the processing procedure of the cursor control program 9.

カーソル制御プログラム9は、指示装置から移動量の通
知があったときに実行され、パラメータとして該移動量
が与えられる。
The cursor control program 9 is executed when notified of the amount of movement from the pointing device, and is given the amount of movement as a parameter.

ここでは、まず処理101において、与えられた移動量
を表示画面上の座標の変化社に変換する。
Here, first, in process 101, a given amount of movement is converted into a change in coordinates on the display screen.

次に処理102では、カーソル位置データに格納されて
いる座標値に該変化社を加え、値を更新する。最後に、
処理103でカーソル位置データの内容に従ってマウス
カーソルを表示画面上に表示するような表示要求を発行
する。
Next, in process 102, the change company is added to the coordinate values stored in the cursor position data, and the values are updated. lastly,
In process 103, a display request is issued to display the mouse cursor on the display screen according to the contents of the cursor position data.

(II)入力・状態割り出し 第5図に入力・状態割り出しプログラム200の処理手
順を示す、入力・状態割り出しプログラム200は、指
示装置あるいはキーボードからの入力があったときに実
行され、パラメータとして入力データが与えられる。
(II) Input/Status Determination The input/state determination program 200, whose processing procedure is shown in FIG. is given.

まず、処理201では、入力データからそれが何に対す
る入力であるのかを判定する0次に、処理202では、
該判定結果がメニュー操作に関するものであるかを調べ
、そうならば処理203を行う、そうでない場合は、ア
プリケーションプログラム1等に入力データを渡し、制
御をうつす。
First, in process 201, it is determined from the input data what the input is for, and in process 202,
It is checked whether the determination result relates to a menu operation, and if so, processing 203 is performed; if not, input data is passed to the application program 1 or the like, and control is transferred.

処理203では、その時点でのメニューの状態がどうな
っているかを調べる。そして、メニューの操作開始時な
らばカーソルデータ退避プログラム11を実行し、続い
てカーソル位置設定プログラム12を実行する。メニュ
ーの操作終了時であればカーソルデータ回復プログラム
13を実行する。
In process 203, the current state of the menu is checked. If it is time to start operating the menu, the cursor data saving program 11 is executed, and then the cursor position setting program 12 is executed. If the menu operation is completed, the cursor data recovery program 13 is executed.

この図では、メニュー操作時におけるカーソル制御の処
理についてのみ示しているが、実際には処理203の後
にサブメニューの表示等の種々の処理が行われる。
Although this figure only shows cursor control processing during menu operation, in reality, various processing such as displaying a submenu is performed after processing 203.

(1■)カーソルデータ退避 第6図にカーソルデータ退避プログラム11の処理手順
を示す、ここでは、処理301により、カーソル位置デ
ータに格納されているマウスカーソルの座導値を、カー
ソルデータ退避エリアに格納する ( IV )カーソル位置設定 第7図にカーソル位置設定プログラム12の処理手順を
示す、カーソル位置設定プログラムが実行されるときに
は、パラメータとして、入力データが与えられる。ここ
では、まず処理302により、入力データから対応する
基本メニューを判定し、その基本メニュー上にマウスカ
ーソルを位置付けるために、基本メニューを指す座標値
を計算する6次に、処理303で、該座標値をカーソル
位置データに格納する。
(1) Saving cursor data Figure 6 shows the processing procedure of the cursor data saving program 11. Here, in step 301, the mouse cursor positioning value stored in the cursor position data is saved in the cursor data saving area. Storing (IV) Cursor Position Setting When the cursor position setting program 12 shown in FIG. 7 is executed, input data is given as a parameter. Here, first, in process 302, the corresponding basic menu is determined from the input data, and in order to position the mouse cursor on the basic menu, coordinate values pointing to the basic menu are calculated.Next, in process 303, the corresponding basic menu is calculated. Store the value in the cursor position data.

(V)カーソルデータ回復 第8図にカーソルデータ回復プログラム13の処理手順
を示す、ここでは、まず処理304は、カーソルデータ
退避エリアに座標値が格納されているかを判定し、格納
されていれば処理305を行う、処理305では、カー
ソルデータ退避エリアに格納されている座標値を、カー
ソル位置データに設定する。そして、処理306により
、次のメニュー操作に備えて、カーソルデータ退避エリ
アの内容をクリアする。
(V) Cursor data recovery FIG. 8 shows the processing procedure of the cursor data recovery program 13. Here, first, in step 304, it is determined whether coordinate values are stored in the cursor data save area, and if they are stored, In the process 305, the coordinate values stored in the cursor data save area are set as cursor position data. Then, in step 306, the contents of the cursor data save area are cleared in preparation for the next menu operation.

以上、説明してきたように、本実施例では、マウス等の
指示装置を用いたコマンド・メニュ一方式において、指
示装置を用いた操作とキーボードを用いた操作での不整
合がなくなり、かつ、操作性の良いコマンド・メニュ一
方式が実現できる。
As explained above, in this embodiment, in a command/menu one-sided system using a pointing device such as a mouse, there is no inconsistency between operations using the pointing device and operations using the keyboard, and A simple command/menu system can be realized.

〔発明の効果〕〔Effect of the invention〕

本発明によれば、マウス等の指示装置を用いたコマンド
・メニュ一方式のシステムにおいて、指示装置を用いた
操作とキーボードを用いた操作での不整合がなくなる。
According to the present invention, in a command/menu type system using a pointing device such as a mouse, there is no inconsistency between operations using the pointing device and operations using a keyboard.

また、メニュー操作の前後において、指示装置に無駄な
動きをさせる必要がなくなるため、操作性が向上する。
Furthermore, since there is no need to make unnecessary movements of the pointing device before and after menu operations, operability is improved.

.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は、本発明の一実施例のカーソル制御方式の説明
図、第2図は、本発明に係る計算機システムの構成図、
第3図は、本発明に係るコマンド・メニュ一方式の例の
説明図、第4図から第8図は、本実施例に係るカーソル
の制御に関する処理手順を示した説明図である。 1・・・キーボード、   3・・・表示装置、4・・
表示デイスプレィ。 8・・・カーソル位置データ、 9・・・カーソル制御プログラム、 11・・・カーソルデータ退避プログラム、12・・・
カーソル位置設定プログラム、13・・・カーソルデー
タ回復プログラム、14・・・カーソルデータ退避エリ
ア。 第 (固 第 2巴 躬 閃 モ4区
FIG. 1 is an explanatory diagram of a cursor control method according to an embodiment of the present invention, and FIG. 2 is a configuration diagram of a computer system according to the present invention.
FIG. 3 is an explanatory diagram of an example of a command/menu one-type system according to the present invention, and FIGS. 4 to 8 are explanatory diagrams showing processing procedures regarding cursor control according to the present embodiment. 1...Keyboard, 3...Display device, 4...
display display. 8...Cursor position data, 9...Cursor control program, 11...Cursor data saving program, 12...
Cursor position setting program, 13... Cursor data recovery program, 14... Cursor data save area. No. 2 (Second Edition)

Claims (1)

【特許請求の範囲】[Claims] 1、表示装置と該表示装置上の点を指示することができ
る指示装置とキーボードを有し、該表示装置上に表示さ
れた複数のコマンドを、該指示装置あるいはキーボード
を用いて指示することにより動作が決定される計算機シ
ステムにおいて、コマンドの指示操作開始時に、該指示
装置の示す点に対応して表示されるカーソルの位置を、
該コマンド内の1つに位置付ける手段と、該操作開始時
の該カーソルの位置情報を格納する制御テーブルと、該
位置情報を該制御テーブルに設定する手段と、コマンド
の指示操作終了時に該制御テーブルからカーソルの位置
情報を回復する手段を設けたことを特徴とするカーソル
制御方式。
1. It has a display device, a pointing device capable of pointing to a point on the display device, and a keyboard, and by instructing multiple commands displayed on the display device using the pointing device or the keyboard. In a computer system where an operation is determined, at the start of a command instruction operation, the position of the cursor displayed corresponding to the point indicated by the instruction device is
means for positioning the cursor in one of the commands, a control table for storing position information of the cursor at the start of the operation, means for setting the position information in the control table, and the control table at the end of the command instruction operation. A cursor control method characterized by providing means for recovering cursor position information from.
JP23248188A 1988-09-19 1988-09-19 Cursor controlling system Pending JPH0281094A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP23248188A JPH0281094A (en) 1988-09-19 1988-09-19 Cursor controlling system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP23248188A JPH0281094A (en) 1988-09-19 1988-09-19 Cursor controlling system

Publications (1)

Publication Number Publication Date
JPH0281094A true JPH0281094A (en) 1990-03-22

Family

ID=16939984

Family Applications (1)

Application Number Title Priority Date Filing Date
JP23248188A Pending JPH0281094A (en) 1988-09-19 1988-09-19 Cursor controlling system

Country Status (1)

Country Link
JP (1) JPH0281094A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100595074B1 (en) * 1999-01-23 2006-06-28 엘지전자 주식회사 How to move between Internet site link displays

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100595074B1 (en) * 1999-01-23 2006-06-28 엘지전자 주식회사 How to move between Internet site link displays

Similar Documents

Publication Publication Date Title
US5742285A (en) Virtual screen display system
USRE38883E1 (en) Method and system for the direct manipulation of information, including non-default drag and drop operation
US6961907B1 (en) “Append” extension to cut and copy commands for a clipboard function in a computer system
JPH08234913A (en) Cursor movement control device
JPH0281094A (en) Cursor controlling system
JPH0535436A (en) Information processing equipment
JP3284272B2 (en) Data input method and device / data input program recording medium
JPH0387914A (en) Method and device for using guidance of electronic computer system
JP2000242385A (en) Pointing device control system, control method, and recording medium recording processing program therefor
JPH0816518A (en) Information processor
JP2981563B2 (en) Electronics
JP2887808B2 (en) Editing processor
JPS62281076A (en) Multi-window display control method
JP3038691B2 (en) Window moving device
JPH0916314A (en) Edit processing method
JPH11353086A (en) Window control method and apparatus, and recording medium
JP3352843B2 (en) Information processing apparatus for controlling cursor position of pointing device and method for controlling cursor position of pointing device of information processing apparatus
JPH03135617A (en) Display device for information processor having function processing information in interactive form
JPH05241730A (en) Mouse control system
JPH01152524A (en) Menu indication system
JP2943185B2 (en) Coordinate input method in CAD system
JPH06348409A (en) Document edition system
JPH07175622A (en) Window display controller
JPH01137322A (en) Information processing device menu display method
JP2650414B2 (en) Data entry method