The method of the operating window of demonstration through adjusting size
Technical field
The present invention relates to the method for the operating window of a kind of demonstration through adjusting size, particularly a kind of when showing the method that when adjusting the operating window of size, can avoid operating window vibration (flicker).
Background technology
When the user in the towing upside of one operating window or left side during with the size of this operating window of convergent-divergent, the user can perceive the content of this operating window and this operating window significantly and can tremble, this is because the content of this operating window and this operating window can be launched to downside or right side convergent-divergent earlier, afterwards again by past upside or left side translation.Especially in the upside of continuous this operating window of towing or left side during with the size of this operating window of convergent-divergent, this phenomenon is more remarkable.
See also Fig. 1 and Fig. 2, Fig. 1 has now to show one first operating window 10 through adjusting position synoptic diagram later on a picture, and Fig. 2 has now in showing on the picture that first operating window 10 becomes the synoptic diagram of one second operating window 12 after adjusting size.First operating window 10 is to have a first size, and first operating window 10 in unjustified position or the size anteposition in position with respect to one first reference point P1, as shown in Figure 1, first operating window 10 can be plotted in reposition shown in dotted line later again through adjusting the position, and size still remains unchanged; And as shown in Figure 2, first operating window 10 can become second operating window 12 of second size after adjusting size, and second operating window 12 can move to the final position with respect to one second reference point P2 owing to the position (position shown in the dotted line) with respect to the first reference point P1 among Fig. 2.See also Fig. 3, Fig. 3 has now to show the process flow diagram of adjusting first operating window 10 on a picture, and this method is to comprise the following step:
Step 100: beginning.
Step 102: receive an information (message) by message queue (message queue).
Step 104: judge whether this information has the request (request) of adjusting first operating window 10, if execution in step 106 then; If not then skipping to step 104.
Step 106: by the controlled information how of acquisition first operating window 10 in this information.
Step 108: judge whether to have the instruction of the size of adjusting first operating window 10 by the information that is captured in the step 106, if not, execution in step 110; If then execution in step 114.
Step 110: draw the reposition that 10 desire adjustment of first operating window are moved according to the information that is captured in the step 106.
Step 112: as shown in Figure 1, the new position that is drawn in step 110 is drawn first operating window 10, adjusts position later so that first operating window 10 is moved to by the original position, and skips to step 124.
Step 114: as shown in Figure 2, first operating window 10 that will have first size according to the information that is captured in the step 106 is adjusted size to second operating window 12 with second size.
Step 116: as shown in Figure 2, second operating window 12 that will have second size is plotted in the position (position shown in the dotted line) with respect to the first reference point P1.
Step 118: (message queue) receives next information by message queue.
Step 120: by capturing the information how first operating window 10 is adjusted in the information that step 118 received.
Step 122: as shown in Figure 2, to be plotted in position through second operating window 12 of second size of adjusting size according to the information that is captured in the step 120, so that second operating window 12 is moved to position with respect to the second reference point P2 by the position with respect to the first reference point P1 with respect to the second reference point P2.
Step 124: finish.
By above-mentioned steps as can be known, only adjust the position of operating window and when not adjusting the size of operating window, operating system can only be handled the action of adjusting the operating window position with an information as the user; But when user's desire was adjusted the size of operating window, operating system just can be handled the action of adjusting the operating window size with two information.When the user only adjusts the position of operating window, operating system just can draw the reposition that 10 desire adjustment of first operating window are moved according to the information that is captured in the step 106, and, adjust position later so that first operating window 10 is moved to by the original position at first operating window 10 of new position drafting through moving; But when user's desire is adjusted the size of operating window, then can be as step 114 with as described in the step 116, first operating window 10 that will have first size is adjusted size to second operating window 12 with second size, and second operating window 12 that will have second size is plotted in the position (position shown in the dotted line) with respect to the first reference point P1, that is to say, the left side that is towing first operating window 10 in the above-described embodiments is amplifying its width, but second operating window 12 that is produced behind the width through amplifying first operating window 10 can be plotted in the position shown in Fig. 2 dotted line (with respect to the position of the first reference point P1) earlier; Step 118 is described with step 122 for another example afterwards, receive second information second operating window 12 being plotted in position, and make second operating window 12 move to position with respect to the second reference point P2 by the position shown in Fig. 2 dotted line (with respect to the position of the first reference point P1) with respect to the second reference point P2.In sum, when user's desire is adjusted the size of operating window, the operating window (second operating window 12) that was adjusted size can be displayed on the position (with respect to the position of the first reference point P1) with respect to master reference point earlier, just can be moved into afterwards scaled size final later the position (with respect to the position of the second reference point P2) that should present.Yet, thus the user when the left side of this operating window of towing, just can see the operating window picture earlier by convergent-divergent to the right again to left, or can see just that when the upside of this operating window of towing the operating window picture elder generation downward convergent-divergent of quilt is again by upwards translation, and then the shortcoming that causes this operating window to tremble, especially in the upside of continuous this operating window of towing or left side during with the size of this operating window of convergent-divergent, this phenomenon is more remarkable, and causes the user to watch the discomfort of this operating window.
Summary of the invention
The present invention provides a kind of when showing the method and apparatus that can avoid the operating window vibration when adjusting the operating window of size, to solve the above problems.
The invention provides the method for the operating window of a kind of demonstration through adjusting size, wherein, this method comprises the following step: (a) receive a window dimension adjustment information, and judge whether this window dimension adjustment information has the request of adjusting window dimension; (b) when judging that this window dimension adjustment information has the request of adjusting window dimension, set a mark, require this operating window to move to action with respect to the position that is different from this first reference point by position with respect to this first reference point in order to next information of not carrying out this window dimension adjustment information; (c), produce an operating window with second size according to this window dimension adjustment information and be positioned at respect to the position of one first reference point and have the operating window of a first size; (d) this has the operating window of second size in the position display that differs from this first reference point according to this window dimension adjustment information; And (e) when judging that this window dimension adjustment information does not have the request of adjusting window dimension, obtain having the reposition that the operating window of a first size is adjusted according to this window dimension adjustment information, and draw the operating window of first size in this new position.
The present invention also provides a kind of electronic installation that shows the operating window through adjusting size, and wherein, this electronic installation includes: a display module, be used for picture one load module of display operation form, and be used for importing window dimension adjustment instruction; And a logical block, be used for receiving this window dimension adjustment instruction, and judge whether this window dimension adjustment information has the request of adjusting window dimension; When judging that this window dimension adjustment instruction has the request of adjusting window dimension, set a mark, require this operating window to move to action with respect to the position that is different from this first reference point by position with respect to this first reference point in order to next information of not carrying out this window dimension adjustment instruction; According to this window dimension adjustment instruction and be positioned at respect to the position of one first reference point and have the operating window of a first size, produce an operating window with second size; This has the operating window of second size in the position display that differs from this first reference point according to this window dimension adjustment instruction; And when judging that this window dimension adjustment information does not have the request of adjusting window dimension, obtain having the reposition that the operating window of a first size is adjusted, and draw the operating window of first size in this new position according to this window dimension adjustment information.
Description of drawings
Fig. 1 has now to show that on a picture first operating window is through adjusting position synoptic diagram later.
Fig. 2 has now in showing on the picture that first operating window becomes the synoptic diagram of second operating window after adjusting size.
Fig. 3 has now to show the process flow diagram of adjusting first operating window on a picture.
Fig. 4 is the function block schematic diagram of electronic installation of the present invention.
Fig. 5 shows that for the present invention first operating window is through adjusting position synoptic diagram later on display module.
Fig. 6 is showing on the display module that for the present invention first operating window becomes the synoptic diagram of second operating window after adjusting size.
Fig. 7 shows the process flow diagram of adjusting first operating window for the present invention on display module.
The reference numeral explanation:
10 first operating windows, 12 second operating windows
50 electronic installations, 52 display modules
54 load modules, 56 logical blocks
58 first operating windows, 60 second operating windows
Embodiment
See also Fig. 4, Fig. 4 can show the function block schematic diagram of the electronic installation 50 of the operating window through adjusting size for the present invention one.Electronic installation 50 is to can be a personal computer, a mobile phone, or be a personal digital assistant (personal digital assistant, PDA) etc.Electronic installation 50 includes a display module 52, be used for the picture of display operation form, it is to can be a LCD (liquid crystal display, LCD), one load module 54, be used for importing form adjustment instruction, with the position of adjustment operating window or the size of zoom operations form, it is to can be a mouse or keyboard etc., an and logical block 56, be used for after receiving this form adjustment instruction that load module 54 imported the result that control display module 52 display operation forms are adjusted.
See also Fig. 5 and Fig. 6, Fig. 5 shows one first operating window 58 through adjusting position synoptic diagram later for the present invention on display module 52, Fig. 6 becomes the synoptic diagram of second operating window 60 for the present invention in demonstration first operating window 58 on the display module 52 after adjusting size.First operating window 58 is to have a first size, and first operating window 58 in unjustified position or the size anteposition in position with respect to one first reference point P1, as shown in Figure 5, first operating window 58 can be plotted in reposition shown in dotted line later again through adjusting the position, and size still remains unchanged; And as shown in Figure 6, first operating window 58 can become second operating window 60 of second size after adjusting size, and second operating window 60 can directly be repainted in the position with respect to one second reference point P2, and wherein the position with respect to this first reference point P1 is the position that is different from respect to this second reference point P2.See also Fig. 7, Fig. 7 shows the process flow diagram of adjusting first operating window 58 for the present invention on display module 52, and this method is to comprise the following step:
Step 200: beginning.
Step 201: utilize load module 54 inputs one form adjustment instruction.
Step 202: logical block 56 is handled the information by message queue received after receiving this form adjustment instruction that load module 54 imported.
Step 204: judge whether this information has the request (request) of adjusting first operating window 58, if then execution in step 206; If not, then skip to step 220.
Step 206: by the controlled information how of acquisition first operating window 58 in this information.
Step 208: judge whether to have the instruction of the size of adjusting first operating window 58 by the information that is captured in the step 206, if not, execution in step 210; If then execution in step 214.
Step 210: draw the reposition that 58 desire adjustment of first operating window are moved according to the information that is captured in the step 206.
Step 212: as shown in Figure 5, the new position that is drawn in step 210 is drawn first operating window 58, adjusts position later so that first operating window 58 is moved to by the original position, and skips to step 220.
Step 214: according to a mark (flag) that sets, require second operating window 60 to move to action in order to next information of not carrying out this information with respect to the position of the second reference point P2 by position with respect to the first reference point P1, wherein, this mark is can be in order to remove next information of this information.
Step 216: as shown in Figure 6, first operating window 58 that will have first size according to the information that is captured in the step 206 is adjusted size to second operating window 60 with second size.
Step 218: as shown in Figure 6, will be plotted in position through second operating window 60 of second size of adjusting size with respect to the second reference point P2 according to the information that is captured in the step 206.
Step 220: finish.
At first the user can be by load module 54 inputs one form adjustment instruction, with the position of adjustment operating window or the size of zoom operations form etc., but utilize mouse or keyboard to pull this operating window, to change the size of the shown position of this operating window or this operating window of convergent-divergent.And as prior art, when the user only adjusts the position of operating window and when not adjusting the size of operating window, operating system only can produce an information and handle the action of adjusting the operating window position; But when user's desire was adjusted the size of operating window, operating system just produced two information and handles the action of adjusting the operating window size.Step 204 to step 208 is judgement and whether has the request of adjusting first operating window 58 by the information that message queue received, and judges that the instruction of adjusting first operating window 58 is for adjusting the position or the size of first operating window 58.When the user only adjusts the position of operating window, operating system just can draw the reposition that 58 desire adjustment of first operating window are moved according to the information that is captured in the step 206, and, adjust position later so that first operating window 58 is moved to by the original position at first operating window 58 of new position drafting through moving.
But when user's desire is adjusted the size of operating window, then can be as step 214 with as described in the step 218, can in the corresponding program of operating system, set a mark, do not carry out the mobile flow process of next information in order to inform operating system, next information that meaning is not promptly carried out this information requires second operating window 60 to move to action with respect to the position of the second reference point P2 by the position with respect to the first reference point P1, wherein can utilize and set this mark removing next information of this information, and reach the purpose of the mobile flow process of not carrying out next information.Afterwards, to have first operating window, the 58 adjustment sizes of first size to second operating window 60 according to the information that is captured in the step 206 again with second size, and will be plotted in position through second operating window 60 of second size of adjusting size according to the information that is captured in the step 206, and allow the operating window of crossing size through convergent-divergent be presented at final the position (with respect to the position of the second reference point P2) that should present with respect to the second reference point P2.As for after by next information that message queue received, owing to set this mark, so next information requires second operating window 60 will can be performed by the action that the position with respect to the first reference point P1 moves to respect to the position of the second reference point P2.
In sum, when user's desire is adjusted the size of operating window, the operating window (second operating window 60) that was adjusted size can directly be displayed on scaled size final later the position (with respect to the position of the second reference point P2) that should present, but not as prior art in the action of first information for being displayed on position (with respect to the position of the first reference point P1) earlier with respect to master reference point, afterwards the action of second information just can be moved into scaled size later finally the position (with respect to the position of the second reference point P2) that should present.Thus, owing to omitted the mobile flow process of second information, and the operating window that among first information, just directly will adjust size be presented at scaled size later final the position that should present, and not in the position that is presented at earlier before with respect to master reference point, so the user during with the size of this operating window of convergent-divergent, does not just have the vision shortcoming of watching this operating window translation and causing this operating window vibration at this operating window of towing.
Method compared to the operating window of existing demonstration through adjusting size, method of the present invention since the operating window that directly will adjust size be presented at scaled size final later the position that should present, and not in the position that is presented at earlier before with respect to master reference point, so the user is at this operating window of towing during with the size of this operating window of convergent-divergent, just do not have the vision shortcoming of watching this operating window translation and causing this operating window vibration, and can increase the user watches this operating window when adjusting the size of operating window comfort.
The above only is preferred embodiment of the present invention, and all equalizations of being done according to the present patent application claim change and modify, and all should belong to the covering scope of patent of the present invention.