Embodiment
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.
Fig. 1 is the process flow diagram of a kind of client-based window Method for minimization that provides of the embodiment of the present invention.Referring to Fig. 1, the method comprises:
101, receive the operational order that minimizes, the application interface that this display window is this client or the channel interface to client-based display window.
Wherein, this client can be instant communication client, and this client can provide a plurality of application and a plurality of channel, by triggering display application interface or channel interface in client, thereby obtains client-based display window.And for display window, display window can comprise close window, minimized window and the option of adjusting window size, when detect minimum window option activation manipulation time, trigger this and minimize operational order, directly make terminal device receive the operational order that minimizes of client-based display window.
102, hide this display window, according to the interface subject of this display window, generating window minimizes entry, and this minimizes entry and at least comprises this interface subject.
103,, at the predeterminable area of client end interface, show that this window minimizes entry.
The method that the embodiment of the present invention provides, by when display window is minimized, in desktop taskbar, do not show that it minimizes entry, but show on application client interface corresponding to this display window, avoided the space with other applications compete desktop taskbars, improve the identification that minimizes entry, and made the attaching relation between display window itself and application program more obvious.
Alternatively, this minimizes entry and also comprises the option of operation to this display window, and at the predeterminable area of this client end interface, after showing that this window minimizes entry, the method also comprises:
When detect this option of operation trigger action time, the function corresponding according to this option of operation, processes this display window.
Alternatively, when detect this option of operation trigger action time, the function corresponding according to this option of operation, this display window is processed and is comprised:
This option of operation comprises the off option, when detect this off option trigger action time, hide this window having shown in the predeterminable area of this client end interface and minimize entry; Or,
This option of operation is restore option, when detect this restore option trigger action time, again show this display window, and hide this window having shown in the predeterminable area of this client end interface and minimize entry.
Alternatively, at the predeterminable area of this client end interface, after showing that this window minimizes entry, the method also comprises:
When detecting when this window is minimized to the trigger action of entry, again show this display window, and hide this window having shown in the predeterminable area of this client end interface and minimize entry.
Alternatively, the method also comprises:
When receive to client-based display window minimize operational order time, catch and this window is minimized to entry be presented at the instruction in desktop taskbar, make this window minimize entry and be not presented at this desktop taskbar.
Fig. 2 is the process flow diagram of a kind of client-based window Method for minimization that provides of the embodiment of the present invention.Referring to Fig. 2, this embodiment specifically comprises:
201, receive the operational order that minimizes, the application interface that this display window is this client or the channel interface to client-based display window.
This step 201 and step 101 in like manner, do not repeat them here.
202, catch and this window is minimized to entry be presented at the instruction in desktop taskbar, make this window minimize entry and be not presented at this desktop taskbar.
This step 202 is optional step, for operating system, whenever receiving, minimize operational order, all can minimize operational order based on this dwindles display window in desktop taskbar, and the embodiment of the present invention catches this by terminal device and this window is minimized to entry be presented at the instruction in desktop taskbar, avoided desktop taskbar to show that this window minimizes entry.Certainly, can this instruction not caught yet, directly carry out subsequent step 203, also can be so that the attaching relation minimizing between entry and the application client under it be clearer and more definite.
203, hide described display window, according to the interface subject of this display window, generating window minimizes entry, and this minimizes entry and at least comprises this interface subject.
This window minimizes entry and at least comprises interface subject, and this interface subject can be writing a Chinese character in simplified form of the title of display window or title etc., to distinguish the window that different display windows are corresponding, minimizes entry.
In addition, this window minimizes entry and can also comprise at least one in restore option and the off option.This restore option is for the demonstration that recovers window to minimize the corresponding display interface of entry, and the off option is used for closing this window and minimizes entry.
Particularly, terminal device minimizes entry format according to showing topics of this display window with preset window, generates at least one item comprising in restore option and the off option and the window showing topics and minimizes entry.
204,, at the predeterminable area of this client end interface, show that this window minimizes entry.
Wherein, this predeterminable area can be placed the position of icon for the lower left corner of client end interface, lower right corner etc.Certainly, the predeterminable area of this client end interface can also refer to the extension interface of this client end interface, that is to say, client end interface does not comprise the region that minimizes entry for display window, and when having generated window by step 203 and minimized entry, this client end interface can provide an extension on the basis of client end interface, and for showing that this window minimizes entry, the embodiment of the present invention is not done concrete restriction to this.
Referring to Fig. 3, Fig. 3 is the minimized demonstration schematic diagram of a kind of window that the embodiment of the present invention provides.In Fig. 3, the lower left corner that the predeterminable area of only take is client end interface is example, and in fact, for different user, this demonstration can show according to user's setting, as user can use, the operation such as pull predeterminable area is arranged to the lower left corner or the lower right corner, think that processing that subsequent window minimizes entry provides the setting of hommization more.For left-handed person user, predeterminable area can be arranged on to the lower right corner.
Certainly, for this client, in its predeterminable area, may include a plurality of windows and minimize entry, now newly-generated window can be minimized to entry and be added into existing entry rear and show.
205,, when detecting when window is minimized to the trigger action of the off option shown in entry, hide this window having shown in the predeterminable area of this client end interface and minimize entry, and close described display window.
When detecting when window is minimized to the trigger action of the off option shown in entry, think that user need to close this display window completely, hide this window having shown in the predeterminable area of this client end interface and minimize entry.This off option can be as shown in Figure 3, and the embodiment of the present invention is not construed as limiting its concrete manifestation form.
206, when detecting when this window is minimized to the trigger action of entry, again show this display window, and hide this window having shown in the predeterminable area of this client end interface and minimize entry.
When user need to reduce this display window, can minimize entry and realize by clicking this window.When terminal device detects when this window is minimized to the trigger action of entry, show the display window before minimizing, and hide this window having shown in the predeterminable area of this client end interface and minimize entry.
Certainly, window in this client end interface minimizes entry can also comprise restore option, when detect described restore option trigger action time, again show described display window, and hide the described window having shown in the predeterminable area of described client end interface and minimize entry.
The method that the embodiment of the present invention provides, by when display window is minimized, in desktop taskbar, do not show that it minimizes entry, but show on application client interface corresponding to this display window, avoided the space with other applications compete desktop taskbars, improve the identification that minimizes entry, and merged Application Program Interface and its display window, made the attaching relation between display window itself and application program more obvious.
Fig. 4 is the structural representation that a kind of client-based window that the embodiment of the present invention provides minimizes device.Referring to Fig. 4, device comprises:
Receiver module 401, for receiving the operational order that minimizes to client-based display window, the application interface that this display window is this client or channel interface;
Entry generation module 402, for according to the interface subject of this display window, generating window minimizes entry, and this minimizes entry and at least comprises this interface subject;
Display module 403, for hiding described display window, and at the predeterminable area of described client end interface, shows that described window minimizes entry.
Alternatively, this minimizes entry and also comprises the option of operation to this display window, and this device also comprises:
Processing module 404, during for trigger action when detecting this option of operation, the function corresponding according to this option of operation, processes this display window.
Alternatively, if this processing module 404 comprises the off option for this option of operation, when detect this off option trigger action time, hide this window having shown in the predeterminable area of this client end interface and minimize entry, and close described display window; And/or,
If this processing module 404 is restore option for this option of operation, when detect this restore option trigger action time, hide this window having shown in the predeterminable area of this client end interface and minimize entry, trigger this display module and again show this display window.
Alternatively, this processing module 404 also, for when detecting when this window is minimized to the trigger action of entry, is hidden this window having shown in the predeterminable area of this client end interface and is minimized entry, triggers this display module and again shows this display window.
Alternatively, this device also comprises:
Trapping module 405, for when receive to client-based display window minimize operational order time, catch and this window is minimized to entry be presented at the instruction in desktop taskbar, make this window minimize entry and be not presented at this desktop taskbar.
It should be noted that: the window that above-described embodiment provides minimizes device when window minimizes, only the division with above-mentioned each functional module is illustrated, in practical application, can above-mentioned functions be distributed and by different functional modules, completed as required, the inner structure of the equipment of being about to is divided into different functional modules, to complete all or part of function described above.In addition, the window that above-described embodiment provides minimizes device and window Method for minimization embodiment belongs to same design, and its specific implementation process refers to embodiment of the method, repeats no more here.
The device that the embodiment of the present invention provides, by when display window is minimized, in desktop taskbar, do not show that it minimizes entry, but show on application client interface corresponding to this display window, avoided the space with other applications compete desktop taskbars, improve the identification that minimizes entry, and merged Application Program Interface and its display window, made the attaching relation between display window itself and application program more obvious.
One of ordinary skill in the art will appreciate that all or part of step that realizes above-described embodiment can complete by hardware, also can come the hardware that instruction is relevant to complete by program, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium of mentioning can be ROM (read-only memory), disk or CD etc.
The foregoing is only preferred embodiment of the present invention, in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.