201128511 六、發明說明: 【發明所屬之技術領域】 本發明為一種控制以及輔助視窗及運用於内儲程式之電 腦可讀記錄媒體的方法,特別是涉及一種電子 視窗調整方法。 、 π 【先前技術】 在電子裝置使用日益普及的今日,使用者每天在電 子裝置上操作複數個視窗已成常態。開啟複數個視窗常 受限於電子裝置之螢幕大小容易有相互遮蔽的缺點。切 換不同視窗時’又會無法馬上朗指定的視窗增加使用 者使用上無謂的困擾。在以往的WIND〇ws作業系統之 下,使用者可以利用alt和tab的功能鍵切換到指定的 視窗。且在跳出的選項中亦可以先行以縮圖預覽各個視 窗’減少切換錯誤的機率。 但是近年來普及的電子裝置卻存在著以下的困擾, 當複數個視窗重疊顯示時,視窗的邊框以及控制選項不 符合使用者操作。因視窗控制的方式已由以往游標點選 的方式改為使用者直接使用手指點選操作,因此以往的 視窗規格已不敷使用。為了創造一種更便於觸控式裝置 操作複數個視窗之方法。本發明人基於多年研究開發與 諸多實務經驗,提出一種控制以及輔助視窗的方法,以作 201128511 為改善上述問題之實現方式與依據。 【發明内容】 儲in 一種控制以及輔助視窗的方法及運用於内 儲程式之㈣可n記錄制, 上的視窗調整方法。本方法包含以下的步驟:種電子裝置 首先,使用者在電子裝置上選擇一 window),其中該電子F置可Α 册私視^(target ^除,緊接著建立—環繞視窗(s™d 視視窗之面積大於該目標視窗,且將該目標 窗,當該目標視窗與該環繞視窗之間形成 環繞視窗可料為—特定外觀,此外觀可為邊 ^狀的改變或是顏色的改變亦可設定為系統自動隨機指 該新邊框大小恰可符合使用者觸控的寬度或游標可點 小且定義為指定顏色或是外觀。在該目標視窗將會嵌 入衣%視匈時,該環繞視窗内亦具有至少一按鍵圖案,該按 ,圖案亦調整成使用者適合點擊的大小。按鍵可以做出放 大、縮小或額等指令。當使用者控制該環繞視糾,可以 間接的控制該目標視窗,即該環繞視窗與該目標視窗會同時 作動。使用者自行設定該控制環繞視窗之新邊框本小以及拖 東該新邊框達到放大縮小視窗的目的。 本方法的其一目的為讓使用者可以輕易控制視窗大小。 201128511 選:指方定 1 的窗另。一目的為讓使用者可以從複數視窗中輕易的 本方法的又-目的為了讓視s按鍵符合使用者觸控 需的大小。 本方法的再-目的為了讓目標視窗增加額外的訊息控制 及相對運動。 本方法的又目的為讓使用者利用手勢控制電子裝置中 的視窗。 茲為使貴審查委員對本發明之技術特徵及所達到 之功效有更進一步之瞭解與認識,謹佐以較佳之實施例 及配合詳細之說明如後。 【實施方式】 下述將對本發明之特定具體實施例作說明,但不以 此為限。本發明可以不同形式予以實現:特殊用途之硬 體或是硬體與軟體的組合。一典型的硬體與軟體組合可 使用電腦程式一般用途之電腦系統,當載入或是執行 時,可以讓該系統執行方法步驟,詳細的步驟流程下面 ,會詳述。且該軟體可以預載至該一般用途電腦系統或 疋如同電腦程式產品般分開使用,當載入電腦系統時, 可以讓該系統執行該方法步驟。 201128511 本發明為一種控制以及辅 儲程式之電腦可讀記錄媒體,特別是涉及j運用於内 上的視窗調整方法。請參考圖!至圖^ =裝置 方法步驟流程圖,圖2至圖5為本發明之一二明之 :觸控使用示意圖-至圖四。本發明之二 window),選擇的方式可為斜而‘視1^ ^(target 势U月參_ 2)或是利用視窗搜尋 =于 如SPy++的圖形視窗。或可以攔:作業圖形:二 $tW!ndQWS()函數取得該目標視窗2業y = 方式,使用者可以指定任何作用 ^利用此 窗代碼。此步驟S1的目的為 :視取;寻= 可。另外,以上的^^ 碼之軟體或程式皆 满I窑绝民上枯 、擇視匈亦可由系統自動提取 ::rrr(;^;r3t™a^s2^- rt 個=:;Win= 下個步驟S 4所指定的形:J ;外觀或顏色為 /S4使用者指定環繞視窗3之外觀, 言窗形狀、視窗顏色等個人化的參數 :驟的目二可二由使用者選取或是系統隨機指定。此 々的目的在於區分觸控制裝幕上不同視窗,方便 201128511 使用者更易於選取特定視窗。當選定了一特定的外觀 後’進入步驟S5,將該目標視窗2叙入該環繞視窗3 (請 參閱圖5 ),在此步驟可以設定該環繞視窗3的大小,並 配合該目標視窗2,且該環繞視窗3的剩餘部份面積形 成一新邊框,該距離寬度剛好適合使用者利用手指或游 標做觸控操作的動作。此新邊框的作用相當於原始視窗 之邊框,且於該新邊框上可以依使用者的需求而設置至 少一指令,像是最小化、最大化、關閉或是縮至狀態列 φ 等等的指令。且其中部份之該指令可藉由圖案31而呈 現,而該圖案31之大小可設計成符合使用者適合觸控或 點選的大小。使用者僅需點選該圖案31就能夠同時控制 該環繞視窗3以及目標視窗2之作動。亦有部份之指令 則是直接設置於該新邊框上,如拖曳的動作等。 請參考圖6,圖6為本發明之較佳實施例之視窗縮放示意 圖。前述在步驟S5中說明設置於該新邊框上之指令包含有 拖曳之指令,其主要目的在於可以讓使用者使用游標點擊拖 % 曳以同時改變目標視窗2及環繞視窗3的大小。例如當使用 者利用游標觸發在該新邊框上之拖曳指令時,以windows的 系統為例,此時該新邊框上之拖曳指令可分別呼叫windows API 的系統函數 SetCapture()和 ReleaseCaptureO ’ 因此使 用者可以利用游標進行拖曳而調整環繞視窗3的大小。在此 操作時’環繞視窗3亦會同步控制目標視窗2的大小,使兩 者之該新邊框維持一固定值。 一凊參考圖7,圖7為本發明之較佳實施例之視窗及時瀏 覽不意圖。在本實施例中,當該使用者把游標移到新邊框上 201128511 時’因該新邊框上設置有另一指令。該指令主要於觸發時, 以windows的系統為例,將使Windows APIs中的函數BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method of controlling and assisting a window and a computer readable recording medium for use in a memory program, and more particularly to an electronic window adjustment method. π [Prior Art] In today's increasingly popular use of electronic devices, it is normal for a user to operate a plurality of windows on an electronic device every day. Opening a plurality of windows is often limited by the fact that the screen size of the electronic device is easily shielded from each other. When switching between different windows, the window that cannot be specified immediately increases the uselessness of the user. Under the previous WIND〇ws operating system, users can use the alt and tab function keys to switch to the specified window. In the pop-up option, you can also preview each window in thumbnails to reduce the chance of switching errors. However, the popular electronic devices in recent years have the following problems. When a plurality of windows are displayed in an overlapping manner, the borders and control options of the windows do not conform to the user's operation. Since the way of window control has been changed from the previous cursor selection method to the user's direct finger selection operation, the previous window specifications are no longer available. In order to create a more convenient touch device to operate a plurality of windows. Based on years of research and development and many practical experiences, the inventors have proposed a method of controlling and assisting windows to make 201128511 an implementation method and basis for improving the above problems. SUMMARY OF THE INVENTION A method for controlling and assisting a window and a method for adjusting a window on a (four) n-recording system for a memory program. The method comprises the following steps: the electronic device firstly, the user selects a window on the electronic device, wherein the electronic F is set to record private video ^ (target ^ divided, then established - surround window (sTMd view) The area of the window is larger than the target window, and the target window is formed as a surrounding window between the target window and the surrounding window, and the appearance may be a change of the shape or a color change. The system automatically sets the size of the new frame to match the width of the user's touch or the cursor can be small and defined as the specified color or appearance. When the target window is embedded in the clothing, the surrounding window is inside the window. The button also has at least one button pattern, and the pattern is also adjusted to a size suitable for the user to click. The button can be used to enlarge, reduce, or limit the command. When the user controls the surround vision, the target window can be indirectly controlled. That is, the surround window and the target window will be activated at the same time. The user sets the new border of the control surround window and the new border to zoom in and out. The purpose of this method is to allow the user to easily control the size of the window. 201128511 Select: refers to the window of the square 1. The purpose is to allow the user to easily use the method from the plural window. Let the s button match the size required by the user's touch. The re-purpose of the method is to add additional message control and relative motion to the target window. The purpose of the method is to allow the user to control the window in the electronic device by using the gesture. For a better understanding and understanding of the technical features and the efficacies of the present invention, the preferred embodiments and the detailed description are as follows. [Embodiment] The following will be specific to the present invention. The specific embodiments are described, but not limited thereto. The invention can be implemented in different forms: special purpose hardware or a combination of hardware and software. A typical combination of hardware and software can be used for computer programs. The computer system, when loaded or executed, allows the system to perform method steps. The detailed steps are detailed below. The software can be preloaded into the general-purpose computer system or used separately as a computer program product, and when loaded into a computer system, the system can be executed by the method. 201128511 The present invention is a computer readable and controllable and auxiliary storage program Recording media, especially the window adjustment method involved in j. For reference, please refer to the figure! to the figure ^ = device method step flow chart, Figure 2 to Figure 5 is one of the two aspects of the invention: touch display diagram - to map 4. The second window of the present invention, the selection method can be oblique and 'view 1 ^ ^ (target potential U month _ 2) or use window search = in the graphical window such as SPy++. Or can be: job graphics: Two $tW!ndQWS() functions get the target window 2 industry y = mode, the user can specify any role ^ use this window code. The purpose of this step S1 is: visual; In addition, the software or program of the above ^^ code is full of I kiln, and the Hungarian selection can be automatically extracted by the system: :rrr(;^;r3tTMa^s2^- rt =:;Win= The shape specified in step S4: J; the appearance or color is /S4 user specifies the appearance of the surrounding window 3, the window shape, the window color and other personalized parameters: the second item can be selected by the user or The system is randomly assigned. The purpose of this is to distinguish different windows on the touch control screen, which makes it easier for the user to select a specific window. When a specific appearance is selected, the process proceeds to step S5, and the target window 2 is described as the surround. Window 3 (please refer to FIG. 5), in this step, the size of the surrounding window 3 can be set and matched with the target window 2, and the remaining part of the surrounding window 3 forms a new frame, which is just suitable for the user. The action of the touch operation is performed by using a finger or a cursor. The new border functions as the border of the original window, and at least one instruction can be set according to the user's needs on the new border, such as minimizing, maximizing, and closing. Or shrink The instructions of the column φ and the like, and some of the instructions can be presented by the pattern 31, and the size of the pattern 31 can be designed to match the size of the user suitable for touch or click. The user only needs to click the button. The pattern 31 can simultaneously control the operation of the surrounding window 3 and the target window 2. Some instructions are directly disposed on the new frame, such as the dragging action, etc. Please refer to FIG. 6, which is the present invention. The window zooming diagram of the preferred embodiment is described in the foregoing step S5. The instruction set on the new border includes a dragging instruction, and the main purpose thereof is to allow the user to click and drag the drag to change the target window 2 at the same time. For example, when the user uses the cursor to trigger the drag command on the new border, the Windows system is taken as an example. At this time, the drag command on the new border can respectively call the Windows API system function SetCapture(). And ReleaseCaptureO ' so the user can use the cursor to drag and adjust the size of the surrounding window 3. In this operation, 'surround window 3 will also control the target synchronously. The size of the window 2 is such that the new frame of the two maintains a fixed value. Referring to Figure 7, Figure 7 is a schematic view of the window in accordance with a preferred embodiment of the present invention. In this embodiment, when the user Move the cursor to the new border on 201128511 'Because there is another command set on the new border. This command is mainly used when triggering, taking the windows system as an example, will make the function in Windows APIs
DwmRegi sterThumbnai1() 和函數DwmRegi sterThumbnai1() and function
DwmUpdateThumbnailProperties ()執行運作。此執行運作 之結果主要將呈現出一小視窗4,而該小視窗4為該環繞視 窗3和目標視窗2的縮影。且該小視顯示位置為游標位 置。此功能的目的在於可以讓使用者快速DwmUpdateThumbnailProperties () performs the operation. The result of this execution will mainly present a small window 4 which is a miniature of the surround window 3 and the target window 2. And the small view display position is the cursor position. The purpose of this feature is to make the user fast
時,该小視窗4則將會隱藏並停止投影。 您IWhen the small window 4 will hide and stop projection. You I
請參考圖8,@ 8為本發明之 控制視窗之示意圖。本實施例 實㈣之利用手勢 置’在觸控式螢幕上,可利用複數個置1為一觸控式裂 不同的指示。在圖8中,當使用^個觸碰點給與環繞視窗3 下兩指往外滑的手勢時,^統^於該環繞視窗3上作出上 相對運動,並給予環繞視窗、一 ’則手指按壓之兩觸控點之 控點呈現上下手指併搬的 大的指令。反之,若兩觸 小的指令。設計者可依據使 料環繞視窗3一綠Referring to Figure 8, @8 is a schematic diagram of the control window of the present invention. In this embodiment, the gesture of using (4) on the touch screen can be performed by using a plurality of indications that are different from one touch type. In FIG. 8, when a touch point is used to give a gesture of sliding outwardly around the two fingers of the window 3, the relative motion is made on the surround window 3, and the surrounding window is given a finger press. The control points of the two touch points present a large command to move up and down the finger. Conversely, if two commands are small. The designer can surround the window 3 green according to the material
鈕就可以快速的切換視窗大小的和S慣設計出不需要觸控按 J寻玲令。 以上所述僅為舉例性, 本發明之精神與範疇,而限制性者。任何未脫離 均應包含於後附之申請專利之等效修改或變更, 【圖式簡單說明】 8 201128511 圖】為本發明之方法步輝流程圖; 圖2為本發明之一較佳實施例之觸控使用示意圖一 3為本發明之一較佳實施例之觸控使用示意圖二 圖4為本發明之—較佳實施例之觸控使用示意圖三 ® 5為本發明之—較佳實施例之觸控使用示意圖四 圖6為本發明之—㈣實關之視窗縮放示意圖; 之 圖7為本發明之—較佳實施例之即㈣覽示意圖; :意8圖為本發明之一較佳實施例之利用手勢控㈣ 【主要元件符號說明】 S1至S5為方法步驟; 1電子裝置; 2目標視窗; 3環繞視窗; 31圖案; 4小視窗。The button can quickly switch between the window size and the S-custom design without the need to touch the button. The above description is only illustrative, and the spirit and scope of the present invention are limited. Equivalent modification or modification of the patent application that is included in the appended claims, the following is a description of the method of the present invention. FIG. 2 is a flow chart of the method of the present invention; FIG. 2 is a preferred embodiment of the present invention. FIG. 4 is a schematic diagram of a touch control according to a preferred embodiment of the present invention. FIG. 4 is a schematic view of a touch control according to a preferred embodiment of the present invention. FIG. 6 is a schematic diagram of window zooming of the present invention according to the present invention; FIG. 7 is a schematic view of a preferred embodiment of the present invention; FIG. The gesture control is used in the embodiment (4) [Description of main component symbols] S1 to S5 are method steps; 1 electronic device; 2 target window; 3 surround window; 31 pattern; 4 small window.