CN103164126A - Method for avoiding misoperation of mouse on main interface and expansion interface - Google Patents
Method for avoiding misoperation of mouse on main interface and expansion interface Download PDFInfo
- Publication number
- CN103164126A CN103164126A CN2013100579058A CN201310057905A CN103164126A CN 103164126 A CN103164126 A CN 103164126A CN 2013100579058 A CN2013100579058 A CN 2013100579058A CN 201310057905 A CN201310057905 A CN 201310057905A CN 103164126 A CN103164126 A CN 103164126A
- Authority
- CN
- China
- Prior art keywords
- mouse pointer
- interface
- area
- main interface
- speed
- 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.)
- Granted
Links
Images
Abstract
The invention discloses a method for avoiding misoperation of a mouse on a main interface and an expansion interface. The method comprises a step of determining position of a mouse pointer on the main interface or the expansion interface, and a step of detecting whether the mouse pointer is on the main interface or not. If the mouse pointer is on the main interface, a step of further judging whether the mouse is out of a first area of the main interface is carried out. If the mouse is out of the first area, the mouse pointer is controlled to move at a first speed V1. If the mouse pointer is in the first area, the mouse pointer is controlled to move at a second speed V2 which is lower than the first speed V1. If the mouse pointer is in the expansion interface, a step of judging whether the mouse pointer is out of a second area or not is carried out. If the mouse pointer is out of the second area, the mouse pointer is controlled to move at the first speed V1. If the mouse pointer is in the second area, the mouse pointer is controlled to move at a third speed V3 which is lower than the first speed V1. The first area is an edge area of the main interface, wherein the edge area is next to one side of the expansion interface. The second area is an edge area of the expansion interface, wherein the edge area is next to one side of the main interface. The method can effectively avoid switch by mistake of the mouse pointer between the main interface and the expansion interface.
Description
Technical field
The present invention relates to computer realm, relate in particular to a kind of method of avoiding the mouse maloperation in main interface and Expansion Interface.
Background technology
In having the system of extended desktop, user's mouse pointer is often understood maloperation and is entered extended operation screen as extended desktop, and at this moment, the user needs manually to adjust, and mouse pointer is retracted the main operation screen, then carries out subsequent operation.This has had a strong impact on user's work efficiency.
Summary of the invention
The object of the invention is to overcome deficiency of the prior art, a kind of method of avoiding the mouse maloperation in extended desktop is provided.
For achieving the above object, the described method of avoiding the mouse maloperation in main interface and Expansion Interface is characterized in, comprise,
First step: determine the position of mouse pointer in main interface or Expansion Interface;
Second step: detect mouse pointer and whether be positioned at main interface;
Third step: if mouse pointer is positioned at main interface, judge further whether this mouse pointer is positioned at outside the first area at main interface, if this mouse pointer is positioned at outside described first area, control this mouse pointer with First Speed V
1Mobile; If this mouse pointer is positioned at described first area, control this mouse pointer with less than First Speed V
1Second speed V
2Mobile;
The 4th step: if mouse pointer is positioned at Expansion Interface, judge further whether this mouse pointer is positioned at outside the second area of Expansion Interface, if this mouse pointer is positioned at outside described second area, control this mouse pointer with First Speed V
1Mobile; If this mouse pointer is positioned at described second area, control this mouse pointer with less than First Speed V
1Third speed V
3Mobile; Wherein,
Described first area is the fringe region of contiguous Expansion Interface one side in main interface, and described second area is the fringe region of contiguous main interface one side in Expansion Interface.
Preferably, put about described main interface and Expansion Interface, described first area is the rectangular area of left 20 pixels of right side edge alignment at main interface, and described second area is the rectangular area of right 20 pixels of left side edge alignment of Expansion Interface.
Preferably, described second speed V
2Satisfy: V
2=X*V
1/ 25+V
1/ 5, described third speed V
3Satisfy: V
3=X*V
1/ 5+V
1* 5, X be mouse pointer at the horizontal ordinate of main interface or Expansion Interface, wherein, set that the direction to main interface is the X-axis positive dirction from Expansion Interface, the horizontal ordinate at the left side edge line place of the right side edge line at described main interface or Expansion Interface is 0.
Beneficial effect of the present invention is, the described method of avoiding the mouse maloperation in main interface and Expansion Interface, by detecting the position of mouse pointer, edge at main interface or Expansion Interface arranges buffer zone, mouse pointer is the closer to the edge at interface, sensitivity is just lower, thereby can avoid user's maloperation; Have spring, attract the user.
Description of drawings
Fig. 1 shows the process flow diagram of avoiding the method for mouse maloperation in main interface and Expansion Interface of the present invention.
Fig. 2 shows a kind of laying mode of main interface according to an embodiment of the invention and Expansion Interface, and the laying mode of the second area in first area and Expansion Interface in main interface.
The two class positions of mouse pointer in main interface have been shown in Fig. 3, and wherein, Fig. 3 a is that mouse pointer is in the zone outside first area in main interface, within Fig. 3 b shows the first area that mouse pointer is in main interface.
The two class positions of mouse pointer in Expansion Interface have been shown in Fig. 4, and wherein, Fig. 4 a is within mouse pointer is in the second area of Expansion Interface, and Fig. 4 b shows mouse pointer and is in zone outside second area in Expansion Interface.
Embodiment
The present invention will be further described below in conjunction with accompanying drawing.
Fig. 1 shows the process flow diagram of avoiding the method for mouse maloperation in main interface 10 and Expansion Interface 20 of the present invention, and as shown in Figure 1, the described method of avoiding the mouse maloperation in main interface 10 and Expansion Interface 20 comprises the following steps:
First step: determine the position of mouse pointer 30 in main interface 10 or Expansion Interface 20;
Second step: detect mouse pointer 30 and whether be positioned at main interface 10;
Third step: if mouse pointer 30 is positioned at main interface 10, judge further whether this mouse pointer 30 is positioned at outside the first area A1 at main interface 10, if this mouse pointer 30 is positioned at outside described first area A1, control this mouse pointer 30 with First Speed V
1Mobile; If this mouse pointer 30 is positioned at described first area A1, control this mouse pointer 30 with less than First Speed V
1Second speed V
2Mobile;
The 4th step: if mouse pointer 30 is positioned at Expansion Interface 20, judge further whether this mouse pointer 30 is positioned at outside the second area A2 of Expansion Interface 20, if this mouse pointer 30 is positioned at outside described second area A2, control this mouse pointer 30 with First Speed V
1Mobile; If this mouse pointer 30 is positioned at described second area A2, control this mouse pointer 30 with less than First Speed V
1Third speed V
3Mobile.
Above-mentioned first area A1 is the fringe region of contiguous Expansion Interface 20 1 sides in main interface 10, and described second area A2 is the fringe region of contiguous main interface 10 1 sides in Expansion Interface 20.
In an embodiment of invention, as extremely shown in Figure 4 in Fig. 2, put with Expansion Interface 20 left and right at described main interface 10, the rectangular area of left 20 pixels of the right side edge alignment that described first area A1 is main interface 10, the rectangular area of right 20 pixels of the left side edge alignment that described second area A2 is Expansion Interface 20.In addition, set that the direction to main interface 10 is the X-axis positive dirction from Expansion Interface 20, the horizontal ordinate at the left side edge line place of the right side edge line at described main interface 10 or Expansion Interface 20 is 0.
When the horizontal ordinate of mouse pointer 30X satisfies X〉during 20 pixel, when namely mouse pointer 30 was positioned at regional outside the first area A1 at main interface 10, as shown in Fig. 3 a, the mouse beacon index was with First Speed V
1Mobile.
When the horizontal ordinate of mouse pointer 30X satisfied 20〉X〉0 pixel, when namely mouse pointer 30 was positioned at the first area A1 at main interface 10, as shown in Fig. 3 b, the mouse beacon index was with second speed V
2Mobile, this second speed V
2Satisfy: V
2=X*V
1/ 25+V
1/ 5, can judge this second speed V
2Less than First Speed V
1, and mouse pointer 30 is more close to the right side edge line at main interface 10, and the translational speed of mouse pointer 30 (is second speed V
2) just less, the sensitivity of mouse pointer 30 is just lower, mouse pointer 30 is moved to Expansion Interface 20 from main interface 10 thereby can avoid the user to overexert by mistake.
When the horizontal ordinate of mouse pointer 30X satisfies X 〉-during 20 pixel, when namely mouse pointer 30 was positioned at regional outside the second area A2 of Expansion Interface 20, as shown in Fig. 4 b, the mouse beacon index was with First Speed V
1Mobile.
When the horizontal ordinate of mouse pointer 30X satisfied-20<X<0 pixel, when namely mouse pointer 30 was positioned at the second area A2 of Expansion Interface 20, as shown in Fig. 4 b, the mouse beacon index was with third speed V
3Mobile, this third speed V
3Satisfy: V
3=X*V
1/ 5+V
1* 5, can judge this third speed V
3Less than First Speed V
1, and mouse pointer 30 is more close to the left side edge line of Expansion Interface 20, and the translational speed of mouse pointer 30 (is third speed V
3) just less, the sensitivity of mouse pointer 30 is just lower, mouse pointer 30 is moved to main interface 10 from Expansion Interface 20 thereby can avoid the user to overexert by mistake.
Only being in sum preferred embodiment of the present invention, is not to limit practical range of the present invention.Be that all equivalences of doing according to the content of the present patent application the scope of the claims change and modify, all should belong to technology category of the present invention.
Claims (3)
1. method of avoiding the mouse maloperation in main interface and Expansion Interface is characterized in that: comprises,
First step: determine the position of mouse pointer in main interface or Expansion Interface;
Second step: detect mouse pointer and whether be positioned at main interface;
Third step: if mouse pointer is positioned at main interface, judge further whether this mouse pointer is positioned at outside the first area at main interface, if this mouse pointer is positioned at outside described first area, control this mouse pointer with First Speed V
1Mobile; If this mouse pointer is positioned at described first area, control this mouse pointer with less than First Speed V
1Second speed V
2Mobile;
The 4th step: if mouse pointer is positioned at Expansion Interface, judge further whether this mouse pointer is positioned at outside the second area of Expansion Interface, if this mouse pointer is positioned at outside described second area, control this mouse pointer with First Speed V
1Mobile; If this mouse pointer is positioned at described second area, control this mouse pointer with less than First Speed V
1Third speed V
3Mobile; Wherein,
Described first area is the fringe region of contiguous Expansion Interface one side in main interface, and described second area is the fringe region of contiguous main interface one side in Expansion Interface.
2. the method for avoiding the mouse maloperation in main interface and Expansion Interface according to claim 1, it is characterized in that: put about described main interface and Expansion Interface, described first area is the rectangular area of left 20 pixels of right side edge alignment at main interface, and described second area is the rectangular area of right 20 pixels of left side edge alignment of Expansion Interface.
3. the method for avoiding the mouse maloperation in main interface and Expansion Interface according to claim 2, is characterized in that: described second speed V
2Satisfy: V
2=X*V
1/ 25+V
1/ 5, described third speed V
3Satisfy: V
3=X*V
1/ 5+V
1* 5, X be mouse pointer at the horizontal ordinate of main interface or Expansion Interface, wherein, set that the direction to main interface is the X-axis positive dirction from Expansion Interface, the horizontal ordinate at the left side edge line place of the right side edge line at described main interface or Expansion Interface is 0.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310057905.8A CN103164126B (en) | 2013-02-25 | 2013-02-25 | A kind of method avoiding mouse maloperation in main interface and Expansion Interface |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310057905.8A CN103164126B (en) | 2013-02-25 | 2013-02-25 | A kind of method avoiding mouse maloperation in main interface and Expansion Interface |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103164126A true CN103164126A (en) | 2013-06-19 |
CN103164126B CN103164126B (en) | 2016-03-30 |
Family
ID=48587260
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310057905.8A Active CN103164126B (en) | 2013-02-25 | 2013-02-25 | A kind of method avoiding mouse maloperation in main interface and Expansion Interface |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103164126B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103838498B (en) * | 2014-03-05 | 2017-08-25 | 深信服科技股份有限公司 | The method and apparatus for realizing windows exchange |
CN113311971A (en) * | 2021-06-01 | 2021-08-27 | 王明烨 | Method, system and device for mouse movement differentiation |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1782966A (en) * | 2004-08-23 | 2006-06-07 | 国际商业机器公司 | Multi-monitor system, multi-monitor method, and mark display program product |
CN101313273A (en) * | 2006-04-27 | 2008-11-26 | 埃派克森微电子有限公司 | Method for control cursor speed on user interface |
CN101821705A (en) * | 2007-10-05 | 2010-09-01 | 汤姆森特许公司 | Pointer controlling apparatus |
CN102473070A (en) * | 2009-08-10 | 2012-05-23 | 皇家飞利浦电子股份有限公司 | System and method for moving a cursor on a screen |
-
2013
- 2013-02-25 CN CN201310057905.8A patent/CN103164126B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1782966A (en) * | 2004-08-23 | 2006-06-07 | 国际商业机器公司 | Multi-monitor system, multi-monitor method, and mark display program product |
CN101313273A (en) * | 2006-04-27 | 2008-11-26 | 埃派克森微电子有限公司 | Method for control cursor speed on user interface |
CN101821705A (en) * | 2007-10-05 | 2010-09-01 | 汤姆森特许公司 | Pointer controlling apparatus |
CN102473070A (en) * | 2009-08-10 | 2012-05-23 | 皇家飞利浦电子股份有限公司 | System and method for moving a cursor on a screen |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103838498B (en) * | 2014-03-05 | 2017-08-25 | 深信服科技股份有限公司 | The method and apparatus for realizing windows exchange |
CN113311971A (en) * | 2021-06-01 | 2021-08-27 | 王明烨 | Method, system and device for mouse movement differentiation |
Also Published As
Publication number | Publication date |
---|---|
CN103164126B (en) | 2016-03-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104090720B (en) | A kind of method and device shown based on gesture operation adjustment terminal window | |
CN103294401B (en) | A kind of icon disposal route and device with the electronic equipment of touch-screen | |
EP2866129B1 (en) | Cursor display position determination method and device | |
CN103699289B (en) | Method and device for responding to sliding operation | |
CN104076986A (en) | Touch control method and equipment used for multi-touch screen terminal | |
CN103324414A (en) | Method and mobile terminal for adjusting icon positions | |
CN105302464B (en) | System and method for scribing flow type document | |
CN103324325B (en) | The detection method of multi-point touch misoperation and terminal | |
CN102902407B (en) | A kind of touch-screen output display touches the method and apparatus of person's handwriting | |
CN105468253A (en) | Mobile terminal interface content display method and apparatus and terminal | |
CN103809853A (en) | Information processing method and electronic device | |
CN104461256A (en) | Method and system for displaying interface elements | |
CN105807965A (en) | False trigger prevention method and apparatus | |
CN104536643A (en) | Icon dragging method and terminal | |
CN102819389B (en) | A kind of mobile terminal and the method at mobile terminal displaying contents | |
JP2021179964A (en) | Monitoring method for image acquisition equipment, device, electronic equipment, storage medium, and program | |
CN105653177A (en) | Method for selecting clickable elements of terminal equipment interface and terminal equipment | |
CN102830911A (en) | Method for rapidly dragging application program to switch pages | |
CN103164126B (en) | A kind of method avoiding mouse maloperation in main interface and Expansion Interface | |
CN105094586A (en) | Display window adjustment method and electronic device | |
CN105320316B (en) | Method and device for removing jitter of touch screen and terminal | |
CN103472946B (en) | A kind of dynamic conditioning touch-screen reports the method for speed | |
CN107844249A (en) | The moving method and device of calendar entries | |
CN104461320A (en) | Method and device for displaying double mouse pointers on double computer screens | |
CN104317504A (en) | Control method and control device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |