COMPUTER SYSTEM WITH TOUCH SCREEN AND ASSOCIATED WINDOW RESIZING METHOD
First Claim
1. A window resizing method for a touch screen of a computer system, the window resizing method comprising steps of:
- generating a left button pressing event according to a touch point at a first position of the touch screen;
judging whether the first position is near a border of a to-be-resized window or not, wherein if the first position is near the border of the to-be-resized window, the first position is changed into a second position, which is located at the border of the to-be-resized window; and
judging whether a left button releasing event at the first position is generated or not, wherein if the left button releasing event at the first position is generated, the left button pressing event at the first position and the left button releasing event at the first position are sequentially outputted, wherein if the left button releasing event at the first position is not generated, the left button pressing event at the second position, a continuous motion event corresponding to a movement from the second position to a third position and the left button releasing event at the third position are sequentially outputted.
1 Assignment
0 Petitions
Accused Products
Abstract
A computer system with a touch screen is provided. The computer system includes a touch unit, a hook unit, and a controlling application program. The touch unit generates a position signal according to the touch point. The hook unit is used for judging whether the first position is near a border of a to-be-resized window according to the position signal. If the first position is not near the border, a left button pressing event at the first position and a left button releasing event at the first position are generated. If the first position is near the border, the left button pressing event at the second position, a continuous motion event corresponding to the movement from the second position to a third position and the left button releasing event at the third position are sequentially generated.
15 Citations
10 Claims
-
1. A window resizing method for a touch screen of a computer system, the window resizing method comprising steps of:
-
generating a left button pressing event according to a touch point at a first position of the touch screen; judging whether the first position is near a border of a to-be-resized window or not, wherein if the first position is near the border of the to-be-resized window, the first position is changed into a second position, which is located at the border of the to-be-resized window; and judging whether a left button releasing event at the first position is generated or not, wherein if the left button releasing event at the first position is generated, the left button pressing event at the first position and the left button releasing event at the first position are sequentially outputted, wherein if the left button releasing event at the first position is not generated, the left button pressing event at the second position, a continuous motion event corresponding to a movement from the second position to a third position and the left button releasing event at the third position are sequentially outputted. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A computer system with a touch screen, the computer system comprising:
-
a touch unit for generating a position signal according to the touch point; a hook unit for judging whether the first position is near a border of a to-be-resized window according to the position signal, thereby determining whether a left button pressing event at the first position and a left button releasing event at the first position are generated or determining whether the left button pressing event at a second position, a continuous motion event corresponding to the movement from the second position to a third position and the left button releasing event at the third position are sequentially generated, wherein the first position is changed into the second position by the hook unit, and the second position is located at the border of the to-be-resized window; and a controlling application program for receiving and executing the left button pressing event, the continuous motion event or the left button releasing event that is outputted from the hook unit. - View Dependent Claims (9, 10)
-
Specification