CN103164126B - A kind of method avoiding mouse maloperation in main interface and Expansion Interface - Google Patents
A kind of method avoiding mouse maloperation in main interface and Expansion Interface Download PDFInfo
- Publication number
- CN103164126B CN103164126B CN201310057905.8A CN201310057905A CN103164126B CN 103164126 B CN103164126 B CN 103164126B CN 201310057905 A CN201310057905 A CN 201310057905A CN 103164126 B CN103164126 B CN 103164126B
- Authority
- CN
- China
- Prior art keywords
- interface
- mouse pointer
- area
- speed
- main interface
- 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.)
- Active
Links
Landscapes
- Position Input By Displaying (AREA)
Abstract
The invention discloses a kind of method avoiding mouse maloperation in main interface and Expansion Interface, it comprises determines the position of mouse pointer in main interface or Expansion Interface; Detect mouse pointer whether in main interface, if in main interface, judge whether further outside the first area at main interface, if outside first area, then mouse beacon pointer is with First Speed V
1mobile; If in first area, then control this mouse pointer to be less than First Speed V
1second speed V
2mobile; If mouse pointer is in Expansion Interface, then judge it whether outside the second area of Expansion Interface, if outside second area, then mouse beacon pointer is with First Speed V
1mobile; If in second area, then control it to be less than First Speed V
1third speed V
3mobile; First area is the fringe region of contiguous Expansion Interface side in main interface, and second area is the fringe region of contiguous side, main interface in Expansion Interface.The present invention can effectively avoid the mistake of mouse pointer in main interface and Expansion Interface to switch.
Description
Technical field
The present invention relates to computer realm, particularly relate to a kind of method avoiding mouse maloperation in main interface and Expansion Interface.
Background technology
In the system having extended desktop, the mouse pointer of user is often understood maloperation and is entered extended operation screen as extended desktop, and at this moment, user needs manual adjustment, mouse pointer is retracted main operation screen, then carries out subsequent operation.This has had a strong impact on the work efficiency of user.
Summary of the invention
The object of the invention is to overcome deficiency of the prior art, a kind of method avoiding mouse maloperation in extended desktop is provided.
For achieving the above object, the described method avoiding mouse maloperation in main interface and Expansion Interface, is characterized in, 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, then judge whether this mouse pointer is positioned at outside the first area at main interface further, if this mouse pointer is positioned at outside described first area, then controls this mouse pointer with First Speed V
1mobile; If this mouse pointer is positioned at described first area, then control this mouse pointer to be less than First Speed V
1second speed V
2mobile;
4th step: if mouse pointer is positioned at Expansion Interface, then judge whether this mouse pointer is positioned at outside the second area of Expansion Interface further, if this mouse pointer is positioned at outside described second area, then controls this mouse pointer with First Speed V
1mobile; If this mouse pointer is positioned at described second area, then control this mouse pointer to be less than First Speed V
1third speed V
3mobile; Wherein,
Described first area is the fringe region of contiguous Expansion Interface side in main interface, and described second area is the fringe region of contiguous side, main interface 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
2meet: V
2=X*V
1/ 25+V
1/ 5, described third speed V
3meet: V
3=X*V
1/ 5+V
1* 5, X is mouse pointer at the horizontal ordinate of main interface or Expansion Interface, wherein, setting from Expansion Interface to the direction at main interface is X-axis positive dirction, and the horizontal ordinate at the right side edge line at described main interface or the left side edge line place of Expansion Interface is 0.
Beneficial effect of the present invention is, the described method avoiding mouse maloperation in main interface and Expansion Interface, by detecting the position of mouse pointer, at the edge of main interface or Expansion Interface, buffer zone is set, mouse pointer is the closer to the edge at interface, sensitivity is lower, thus can avoid the maloperation of user; There is spring, attract user.
Accompanying drawing explanation
Fig. 1 shows the process flow diagram avoiding the method for mouse maloperation in main interface and Expansion Interface of the present invention.
The one that Fig. 2 shows main interface according to an embodiment of the invention and Expansion Interface lays mode, and the laying mode of second area in main interface in first area and Expansion Interface.
The two class positions of mouse pointer in main interface have been shown in Fig. 3, and wherein, Fig. 3 a is the region outside mouse pointer is in main interface first area, and Fig. 3 b shows mouse pointer and is within the first area at main interface.
The two class positions of mouse pointer in Expansion Interface have been shown in Fig. 4, and wherein, Fig. 4 a is that mouse pointer is within the second area of Expansion Interface, and Fig. 4 b shows the region outside second area that mouse pointer is in Expansion Interface.
Embodiment
Below in conjunction with accompanying drawing, the present invention will be further described.
Fig. 1 shows the process flow diagram 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 avoiding 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, then judge whether this mouse pointer 30 is positioned at outside the first area A1 at main interface 10 further, if this mouse pointer 30 is positioned at outside described first area A1, then controls this mouse pointer 30 with First Speed V
1mobile; If this mouse pointer 30 is positioned at described first area A1, then control this mouse pointer 30 to be less than First Speed V
1second speed V
2mobile;
4th step: if mouse pointer 30 is positioned at Expansion Interface 20, then judge whether this mouse pointer 30 is positioned at outside the second area A2 of Expansion Interface 20 further, if this mouse pointer 30 is positioned at outside described second area A2, then control this mouse pointer 30 with First Speed V
1mobile; If this mouse pointer 30 is positioned at described second area A2, then control this mouse pointer 30 to be less than First Speed V
1third speed V
3mobile.
Above-mentioned first area A1 is the fringe region of contiguous Expansion Interface 20 side in main interface 10, and described second area A2 is the fringe region of contiguous side, main interface 10 in Expansion Interface 20.
In an embodiment of invention, as shown in Figures 2 to 4, described main interface 10 is put with Expansion Interface about 20, described first area A1 is the rectangular area of left 20 pixels of right side edge alignment at main interface 10, and described second area A2 is the rectangular area of right 20 pixels of left side edge alignment of Expansion Interface 20.In addition, setting from Expansion Interface 20 to the direction at main interface 10 is X-axis positive dirction, and the horizontal ordinate at the right side edge line at described main interface 10 or the left side edge line place of Expansion Interface 20 is 0.
When the horizontal ordinate of mouse pointer 30X meets X>20 pixel, namely mouse pointer 30 be positioned at main interface 10 first area A1 outside region time, as shown in Figure 3 a, mouse beacon index is with First Speed V
1mobile.
When the horizontal ordinate of mouse pointer 30X meets 20>X>0 pixel, when namely mouse pointer 30 is positioned at the first area A1 at main interface 10, as shown in Figure 3 b, mouse beacon index is with second speed V
2mobile, this second speed V
2meet: V
2=X*V
1/ 25+V
1/ 5, this second speed V can be judged
2be less than First Speed V
1, and the right side edge line of mouse pointer 30 more to main interface 10 is close, translational speed (the i.e. second speed V of mouse pointer 30
2) less, the sensitivity of mouse pointer 30 is lower, thus user can be avoided to overexert moved to Expansion Interface 20 from main interface 10 by mouse pointer 30 by mistake.
When the horizontal ordinate of mouse pointer 30X meets X>-20 pixel, namely mouse pointer 30 be positioned at Expansion Interface 20 second area A2 outside region time, as shown in Figure 4 b, mouse beacon index is with First Speed V
1mobile.
When the horizontal ordinate of mouse pointer 30X meets-20<X<0 pixel, when namely mouse pointer 30 is positioned at the second area A2 of Expansion Interface 20, as shown in Figure 4 b, mouse beacon index is with third speed V
3mobile, this third speed V
3meet: V
3=X*V
1/ 5+V
1* 5, this third speed V can be judged
3be less than First Speed V
1, and mouse pointer 30 is more close to the left side edge line of Expansion Interface 20, translational speed (the i.e. third speed V of mouse pointer 30
3) less, the sensitivity of mouse pointer 30 is lower, thus user can be avoided to overexert moved to main interface 10 from Expansion Interface 20 by mouse pointer 30 by mistake.
Be only preferred embodiment of the present invention in sum, be not used for limiting practical range of the present invention.Namely all equivalences done according to the content of the present patent application the scope of the claims change and modify, and all should belong to technology category of the present invention.
Claims (3)
1. in main interface and Expansion Interface, avoid a method for mouse maloperation, it is characterized in that: 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, then judge whether this mouse pointer is positioned at outside the first area at main interface further, if this mouse pointer is positioned at outside described first area, then controls this mouse pointer with First Speed V
1mobile; If this mouse pointer is positioned at described first area, then control this mouse pointer to be less than First Speed V
1second speed V
2mobile;
4th step: if mouse pointer is positioned at Expansion Interface, then judge whether this mouse pointer is positioned at outside the second area of Expansion Interface further, if this mouse pointer is positioned at outside described second area, then controls this mouse pointer with First Speed V
1mobile; If this mouse pointer is positioned at described second area, then control this mouse pointer to be less than First Speed V
1third speed V
3mobile; Wherein,
Described first area is the fringe region of contiguous Expansion Interface side in main interface, and described second area is the fringe region of contiguous side, main interface in Expansion Interface, second speed V
2with third speed V
3for speed change, and mouse pointer is more close to the edge line between main interface and Expansion Interface, second speed V
2or third speed V
3less.
2. the method avoiding 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 avoiding mouse maloperation in main interface and Expansion Interface according to claim 2, is characterized in that: described second speed V
2meet: V
2=X*V
1/ 25+V
1/ 5, described third speed V
3meet: V
3=X*V
1/ 5+V
1* 5, X is mouse pointer at the horizontal ordinate of main interface or Expansion Interface, wherein, setting from Expansion Interface to the direction at main interface is X-axis positive dirction, and the horizontal ordinate at the right side edge line at described main interface or the left side edge line place of 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 CN103164126A (en) | 2013-06-19 |
CN103164126B true 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) |
Families Citing this family (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 |
Also Published As
Publication number | Publication date |
---|---|
CN103164126A (en) | 2013-06-19 |
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 | |
CN103616970B (en) | Touch-control response method and device | |
CN103699289B (en) | Method and device for responding to sliding operation | |
EP2866129A1 (en) | Cursor display position determination method and device | |
US20160349983A1 (en) | Terminal screen shot method and terminal | |
EP2752750A3 (en) | Mobile terminal and controlling method thereof | |
CN102830907A (en) | Touch screen mobile terminal and method of mobile terminal for setting icon | |
CN105807965A (en) | False trigger prevention method and apparatus | |
CN103809853A (en) | Information processing method and electronic device | |
CN102004592A (en) | Capacitive touch screen scanning method | |
CN105468253A (en) | Mobile terminal interface content display method and apparatus and terminal | |
CN104331186B (en) | Touch-screen writes the processing method and system in region | |
CN104536643A (en) | Icon dragging method and terminal | |
JP2021179964A (en) | Monitoring method for image acquisition equipment, device, electronic equipment, storage medium, and program | |
CN105653177B (en) | The selection method and terminal device for clicking element at terminal device interface | |
CN103164126B (en) | A kind of method avoiding mouse maloperation in main interface and Expansion Interface | |
CN102830911A (en) | Method for rapidly dragging application program to switch pages | |
CN104102374A (en) | Touch device and edge nonlinear compensation method thereof | |
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 | |
CN102650911B (en) | Gesture method used for mouse | |
CN103440098B (en) | Open method and the mobile terminal thereof of application program | |
EP2669783A1 (en) | Virtual ruler for stylus input |
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 |