CN1085363C - Method for changing input window position according to cursor position - Google Patents
Method for changing input window position according to cursor position Download PDFInfo
- Publication number
- CN1085363C CN1085363C CN 98116232 CN98116232A CN1085363C CN 1085363 C CN1085363 C CN 1085363C CN 98116232 CN98116232 CN 98116232 CN 98116232 A CN98116232 A CN 98116232A CN 1085363 C CN1085363 C CN 1085363C
- Authority
- CN
- China
- Prior art keywords
- cursor position
- input window
- module
- display screen
- input
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Digital Computer Display Output (AREA)
Abstract
The present invention relates to a method for changing input window position according to cursor position, which is mainly matched with the continuous execution of a software program in a read only storage of a central processing unit. A cursor position monitoring die set, a window position setting die set and an input method monitoring die set are stored in the software program. In the method for changing input window position according to cursor position, the window position setting die set calculates and judges whether the current cursor position is covered by an input window, the position of the input window is changed according to a random access stored input window position rectangle, the input window can automatically move to a proper position on a display screen, and the content of the display screen can not be decreased.
Description
The present invention relates to a kind of method that changes the input window position according to cursor position, especially refer to a kind of by method of the present invention by constantly checking current cursor position, whether the position of judging cursor is overlapping with input window, and then dynamically change the position of input window, so that the input of user's cursor can not be transfused to form and cover, simultaneously, the user utilizes the content in the entire display screen with can filling meeting.
In message area now, utilize the input mode of input method as a kind of expansion, will promote the development of information industry.Press, the general common input method of commonly using is divided into keyboard input and handwriting input, and wherein the keyboard input is by the character tandem of user from the keyboard input, convert thereof into specific dibit tuple character after, and become the real input character of user.Again, handwriting input utilizes pen type input tools such as handwriting pad usually, carries out going after a series of track data is imported identification again, and becomes the last input character of user.But this traditional input method is the specific location that input window is fixed on display screen.Therefore, this input window will occupy display screen a part of zone, so cause the physical size of display screen to diminish, displaying contents tails off.Simultaneously, present input window (as hand-writing input method), its position immobilizes on display screen, also only could move by manual when needed, move to the position at input window place when cursor after, the content that cursor is imported will be transfused to form and hide, and the user must so will bring inconvenience to input by mobile input window or scrolling screen to browse content of edit.
Because the above-mentioned various shortcomings of commonly using, the inventor is through the permanent research and experiment of making great efforts, and development and Design goes out the method that changes the input window position according to cursor position of the present invention finally.
Fundamental purpose of the present invention is to provide a kind of method that changes the input window position according to cursor position, this method mainly is that cooperation CPU (central processing unit) (CPU) is constantly carried out the software program in the ROM (read-only memory), wherein deposit cursor position in this software program and monitored module and form set positions module and input method management module, calculate by form set positions module, judge whether current cursor position has been transfused to form and has covered, and change the position of input window according to the input window position rectangle that random access memory stores, make input window can on display screen, move to the appropriate location automatically, so the present invention can be at current cursor position, dynamically change the position of input window, reduce the content of display screen so that the input window that the user can not edited covers.
For enabling to purpose of the present invention, shape constructing apparatus feature and effect thereof, make further understanding and understanding, for the embodiment conjunction with figs., be described in detail as follows now:
Fig. 1 is a hardware system calcspar of the present invention.
Fig. 2 is that form covering state of the present invention is judged synoptic diagram.
Fig. 3 is an operating process synoptic diagram of the present invention.
Fig. 4 is an input operation synoptic diagram one of the present invention.
Fig. 5 is an input operation synoptic diagram two of the present invention.
See also shown in Figure 1, the present invention is a kind of method that changes the input window position according to cursor position, this method is at current cursor position, dynamically change the position of input window, it has a display screen 10, the usefulness of the information that the act as demonstration of this display screen 10, and display screen 10 is subjected to a CPU (central processing unit) (CPU) 20 controls, it is controlled total system, and execution is arranged in the software program of ROM (read-only memory) 30, wherein deposit a cursor position in this software program and monitored module 31 and a form set positions module 32 and input method management module 33, and cursor position monitors that module 31 can constantly monitor the cursor position on the display screen 10 in input data, and the effect of form set positions module 32 is to judge whether current cursor position is overlapping with input window.Again, input method management module 33 is the concrete things for the management input method, as changing or identification inputs in the input window, and the switching of input method, and changing the position of input window according to the input window position rectangle 41 that a random access memory 40 stores, random access memory 40 is to deposit the input window position rectangle 41 that constantly dynamically changes.Constantly carry out cursor position by CPU (central processing unit) 20 and monitor module 31, to obtain the position of current cursor on the display screen 10, form set positions module 32 can be monitored the module 31 from cursor position obtain cursor position, and calculate, judge by form set positions module 32 whether cursor position has been transfused to form and has covered, if be not capped, then program is got back to cursor position and is monitored the cursor position that continues in the module 31 to monitor on the display screen 10, and judges; If cursor position is capped, then form set positions module 32 will be selected new input window position, can be set in the opposite location of the former input window position rectangle 41 of display screen 10, as original left side at display screen 10, be movable to the right of display screen 10, it also can freely be set by the user, new input window position will be as the criterion can not cover current cursor position, and form set positions module 32 is calculated new input window position be stored in the random access memory 40, and then carry out the concrete things of input method management module 33.Then new input window position is moved on the indicated position of input window position rectangle 41.
See also shown in Figure 2ly again, wherein " left side " is the left margin coordinate of rectangle in the input window position rectangle 41; " right side " is the right margin coordinate of rectangle; " on " be the coboundary coordinate of rectangle; D score is the lower boundary coordinate of rectangle, current cursor position is 42, (x, y) be respectively the horizontal and vertical coordinate values of current cursor position 42, when the scope of a left side<x<right side and last<y<down, can confirm that current cursor position 42 has been transfused to form position rectangle 41 and has covered at this equation.
Now illustrate that with an embodiment method of the present invention is as follows: see also shown in Fig. 1,2,3,4,5, the step of this method comprises:
(1) at first, CPU (central processing unit) (CPU) 20 receives the user when utilizing inputting method or hand-writing input method, carry out character conversion by input method management module 33 and deliver to again in the input window 11, and indicate the appearance of next input data by cursor position 12;
(2) constantly carry out cursor position by CPU (central processing unit) (CPU) 20 and monitor module 31,, form set positions module 32 can be monitored from cursor position obtain current cursor position 12 module 31 to obtain current cursor position 12 on the display screen 10;
(3) CPU (central processing unit) (CPU) 20 and calculate by form set positions module 32 judges whether current cursor position 12 has been transfused to form 11 and has covered (as shown in Figure 2).If cursor position 12 is not capped, then program is got back to the cursor position 12 that continues in the cursor position monitor module 31 to monitor on the display screen 10, and judges, promptly continues step (5).If cursor position 12 is capped (as shown in Figure 3), promptly continue the following step;
(4) at this moment, form set positions module 32 will be selected new input window 11 positions, it can be set in the opposite location (as shown in Figure 4) of the former input window position rectangle 41 of display screen 10, it was movable to the right of display screen 10 on the left side of display screen 10 as originally, it also can freely be set by the user, and new input window 11 positions will be as the criterion can not cover current cursor position 12.
(5) form set positions module 32 is calculated resultant new input window 11 positions and be stored in the random access memory 40, and then carry out the concrete things of input method management module 33;
(6) at this moment, calculate, judge by form set positions module 32 whether current cursor position 12 has been transfused to form 11 and has covered again,, promptly continue the following step,, promptly continue step (4) if cursor position 12 is capped if cursor position 12 is not capped;
(7) new input window 11 positions are deposited to the indicated appropriate location of input window position rectangle 41 and the volumes of finishing in the display screen 10 are seized behaviour's operation.
The above only is a possible embodiments of the present invention, and by all personages who is familiar with this skill, according to disclosed content, the various equivalences of doing are modified and changed, and all should be included in the claim scope of the present invention.
Claims (3)
1. the method according to cursor position change input window position is characterized in that, comprises the following steps:
(1) at first, receive the user by CPU (central processing unit) (CPU) and utilize input method, carry out character conversion via input method management module and deliver in the input window again, and indicate the appearance of next input data by cursor position;
(2) constantly carry out cursor position by CPU (central processing unit) (CPU) and monitor module, obtain current cursor position on the display screen, form set positions module can be monitored from cursor position obtain current cursor position the module;
(3) this CPU (central processing unit) (CPU) and calculate by form set positions module, judge whether current cursor position has been transfused to form and has covered, if cursor position is not capped, then get back to the cursor position that continues in the cursor position monitor module to monitor on the display screen, and judge, promptly continue step (5),, promptly continue the following step if cursor position is capped;
(4) at this moment, this form set positions module will be selected new input window position, and new input window position will be as the criterion can not cover current cursor position;
(5) form set positions module is calculated resultant new input window position and be stored in the random access memory, and then carry out the concrete things of input method management module;
(6) at this moment, calculate, judge by form set positions module whether current cursor position has been transfused to form and has covered again,, promptly continue the following step,, promptly continue step (4) if cursor position is capped if cursor position is not capped;
(7) new input window position is deposited to the indicated appropriate location of input window position rectangle and finish editing operation in the display screen;
As above-mentioned method, constantly carry out cursor position by CPU (central processing unit) (CPU) and monitor module, and calculate, judge by form set positions module whether current cursor position has been transfused to form and has covered, make input window can on display screen, move to the appropriate location automatically, and can not reduce the content in the display screen.
2. the method according to cursor position change input window position as claimed in claim 1 is characterized in that this input method can be inputting method or hand-writing input method, and carries out character conversion via input method management module and deliver in the input window.
3. the method that changes the input window position according to cursor position as claimed in claim 1, it is characterized in that, the selected new input window position of this form set positions module is the opposite location of the former input window position rectangle that is set in display screen, or can be freely set by the user.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 98116232 CN1085363C (en) | 1998-08-04 | 1998-08-04 | Method for changing input window position according to cursor position |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 98116232 CN1085363C (en) | 1998-08-04 | 1998-08-04 | Method for changing input window position according to cursor position |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1206887A CN1206887A (en) | 1999-02-03 |
CN1085363C true CN1085363C (en) | 2002-05-22 |
Family
ID=5224987
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 98116232 Expired - Fee Related CN1085363C (en) | 1998-08-04 | 1998-08-04 | Method for changing input window position according to cursor position |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN1085363C (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100371891C (en) * | 2004-11-25 | 2008-02-27 | 腾讯科技(深圳)有限公司 | Process for dynamic window and connector |
CN104102418B (en) * | 2013-04-03 | 2015-08-26 | 腾讯科技(深圳)有限公司 | Input frame target location localization method and device in a kind of browser of mobile terminal |
CN104346053A (en) | 2013-07-30 | 2015-02-11 | 阿里巴巴集团控股有限公司 | Form processing method and terminal |
CN105446633B (en) * | 2014-08-25 | 2019-03-01 | 华为技术有限公司 | Input method control method and device |
CN109739462B (en) * | 2018-03-15 | 2020-07-03 | 北京字节跳动网络技术有限公司 | Content input method and device |
CN110262718B (en) * | 2019-06-20 | 2021-08-03 | 北京字节跳动网络技术有限公司 | Input method window setting method and device, mobile terminal and storage medium |
CN110795196A (en) * | 2019-10-31 | 2020-02-14 | 北京字节跳动网络技术有限公司 | Window display method, device, terminal and storage medium |
-
1998
- 1998-08-04 CN CN 98116232 patent/CN1085363C/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
CN1206887A (en) | 1999-02-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN1085363C (en) | Method for changing input window position according to cursor position | |
US5841436A (en) | Apparatus and method for controlling display of window titles | |
CN105511792A (en) | In-position hand input method and system for form | |
JPH08235162A (en) | Document preparation device | |
CN103176952A (en) | Document display method and document display device | |
JPH03206552A (en) | Display processing system | |
JPH064607A (en) | Data display device | |
JP3638176B2 (en) | Handwritten data editing apparatus and handwritten data editing method | |
JP2783472B2 (en) | Information processing device | |
JPH02247721A (en) | Window display control system | |
JPH07282003A (en) | Device and method for editing menu display | |
JP2751373B2 (en) | Window hierarchy display method | |
JP2000313337A (en) | Train number display device | |
JPH0511959A (en) | Multiwindow controller | |
JP3466363B2 (en) | Information processing device | |
CN101359269A (en) | Rolling view method for file | |
JP3647089B2 (en) | Graphic processing apparatus and control method thereof | |
JPH09293103A (en) | Cell data scroll method | |
CN115048028A (en) | Control method and device for intelligent form of electronic whiteboard and storage medium | |
JPH10301705A (en) | Handwriting input device | |
JP2002163057A (en) | Method and device for forming/editing target object and storage medium | |
CN1289076A (en) | Device and method for implementing rolling of indication apparatus in computer system | |
JPH09185679A (en) | Method and device for character recognition | |
JP2541612B2 (en) | Multi-window display | |
CN1866246A (en) | Electronic worksheet with switchable editing box display content and method for switching display content |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C06 | Publication | ||
PB01 | Publication | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
C17 | Cessation of patent right | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20020522 Termination date: 20100804 |