CN108536540A - The mouse information acquisition methods and device of desktop icons - Google Patents
The mouse information acquisition methods and device of desktop icons Download PDFInfo
- Publication number
- CN108536540A CN108536540A CN201710116282.5A CN201710116282A CN108536540A CN 108536540 A CN108536540 A CN 108536540A CN 201710116282 A CN201710116282 A CN 201710116282A CN 108536540 A CN108536540 A CN 108536540A
- Authority
- CN
- China
- Prior art keywords
- desktop
- window
- desktop icons
- application
- mouse
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/54—Interprogram communication
- G06F9/543—User-generated data transfer, e.g. clipboards, dynamic data exchange [DDE], object linking and embedding [OLE]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/04817—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- Human Computer Interaction (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses the mouse information acquisition methods and device of a kind of desktop icons, belong to field of terminal technology.This method includes:The mouse information for desktop icons generated in the desktop window is obtained by desktop window, which is any desktop icons that the desktop window is shown, and not covered with mask window on the desktop icons;The mouse information is sent to the parent window of the desktop window by the desktop window, in order to which the parent window responds the mouse information;When the parent window receives the mouse information, which is sent to by the corresponding application of the desktop icons by the fill assembly in the parent window, in order to which the application gets the mouse information.The problem of losing mouse information the invention avoids the desktop window occurred when mask window forwards mouse information to desktop window, improves the success rate of desktop window response mouse action.
Description
Technical field
The present invention relates to field of terminal technology, more particularly to the mouse information acquisition methods and device of a kind of desktop icons.
Background technology
Desktop window is the window that terminal carries out direct interaction with user, including a variety of desktop icons, such as application drawing
Mark, file icon etc., user can be by carrying out mouse action come to the corresponding application of desktop icons or file to desktop icons
It is manipulated.In the process i.e. various mouse informations can be generated in desktop window, as mouse click message, double-click disappear
Breath, mobile messaging etc..Moreover, for the ease of user can intuitively from desktop window obtain application notification message without
Related application is opened, when mouse pointer is moved on the desktop icons of some application by user, need to apply to exist automatically
The notification message (tips) that the application is shown by the desktop icons of the application, desktop can be obtained in time by also requiring to apply thus
The mouse information of icon.
It is illogical between desktop window application corresponding with desktop icons but in current Windows operating system
Believe interface, therefore application also can not just obtain the mouse information of corresponding desktop icons from desktop window.Thus in the related technology,
It can be that each desktop icons create a mask window and are covered on corresponding desktop icons, as desktop window and apply it
Between communication interface, in this way when mouse pointer is moved on some desktop icons, the mouse information for the desktop icons is
It can be intercepted by the mask window on the desktop icons, then the corresponding application of the desktop icons is sent to by mask window.Meanwhile
The mask window is also required to the mouse information of the desktop icons being transmitted to desktop window, so that desktop window is by calling the table
The parent window of face-port mouth responds the mouse information.Specifically, desktop window receives the mouse information of mask window forwarding
And then the mouse information is sent to parent window, be based on the mouse information from parent window sends response instruction to desktop window,
Desktop window indicates to execute the corresponding operation of the mouse information further according to the response.
In the above method, although using the mouse information that can obtain corresponding desktop icons by mask window,
During the mouse information of desktop icons is transmitted to desktop window by mask window, it may occur that mouse information retransmission failure
The case where, desktop window will be caused to lose mouse information in this way, and then desktop window is caused to cannot respond to mouse action.
Invention content
In order to solve the problems, such as that desktop window existing for the relevant technologies is easily lost mouse information, the embodiment of the present invention provides
The mouse information acquisition methods and device of a kind of desktop icons.The technical solution is as follows:
On the one hand, a kind of mouse information acquisition methods of desktop icons are provided, the method includes:
The mouse information for desktop icons generated in the desktop window, the desktop are obtained by desktop window
Icon is any desktop icons that the desktop window is shown, and not covered with mask window on the desktop icons;
The mouse information is sent to the parent window of the desktop window by the desktop window, in order to the father
Window responds the mouse information;
When the parent window receives the mouse information, by the fill assembly in the parent window by the mouse
Message is sent to the corresponding application of the desktop icons, in order to which the application gets the mouse information.
On the other hand, a kind of mouse information acquisition device of desktop icons is provided, described device includes:
Acquisition module, for obtaining the mouse for desktop icons generated in the desktop window by desktop window
Message, the desktop icons are any desktop icons that the desktop window is shown, and not covered with illiteracy on the desktop icons
Layer window;
First sending module, the father for the mouse information to be sent to the desktop window by the desktop window
Window, in order to which the parent window responds the mouse information;
Second sending module, for when the parent window receives the mouse information, by the parent window
The mouse information is sent to the corresponding application of the desktop icons by fill assembly, in order to which the application gets the mouse
Mark message.
The advantageous effect that technical solution provided in an embodiment of the present invention is brought is:
In the embodiment of the present invention, can directly be obtained by desktop window generated in the desktop window be directed to desktop icons
Mouse information be transmitted to desktop window without obtaining the mouse information by mask window so that parent window is responded,
The parent window of the desktop window is sent to by desktop window again, and the mouse of desktop window transmission is received in the parent window
When marking message, which can also be sent to the desktop icons are corresponding to answer by the fill assembly in the parent window
With, so as to this application obtain the mouse information, therefore can ensure application can obtain the mouse information under the premise of, avoid
The problem of mouse information occurred when forwarding mouse information to desktop window by mask window is lost improves desktop window sound
Answer the success rate of mouse action.
Description of the drawings
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment
Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for
For those of ordinary skill in the art, without creative efforts, other are can also be obtained according to these attached drawings
Attached drawing.
Figure 1A is a kind of acquisition methods flow chart of the mouse information of desktop icons provided in an embodiment of the present invention;
Figure 1B is a kind of schematic diagram of desktop icons displaying notification message provided in an embodiment of the present invention;
Fig. 1 C are that a kind of desktop icons provided in an embodiment of the present invention redraw schematic diagram;
Fig. 1 D are a kind of desktop icons schematic diagrames provided in an embodiment of the present invention;
Fig. 1 E are a kind of implementation environment signals of the mouse information acquisition methods of desktop icons provided in an embodiment of the present invention
Figure;
Fig. 1 F are that the implementation environment of the mouse information acquisition methods of another desktop icons provided in an embodiment of the present invention shows
It is intended to;
Fig. 2 is a kind of block diagram of the mouse information acquisition device of desktop icons provided in an embodiment of the present invention;
Fig. 3 is a kind of structural schematic diagram of terminal 300 provided in an embodiment of the present invention.
Specific implementation mode
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to embodiment party of the present invention
Formula is described in further detail.
Before to the embodiment of the present invention carrying out that explanation is explained in detail, first the implementation environment of the embodiment of the present invention is given
Explanation.Method provided in an embodiment of the present invention is applied in the desktop window of terminal, which is specifically as follows computer, intelligence
Mobile phone, tablet computer, laptop, Ultra-Mobile PC's (English:Ultra-mobile Personal
Computer, referred to as:UMPC), net book, personal digital assistant (English:Personal Digital Assistant, referred to as:
PDA) etc., it is not limited in the embodiment of the present invention.It that is to say, which can be with the table for fixed terminals such as computers
Face-port mouth, or the desktop window of the mobile terminals such as mobile phone, it is not limited in the embodiment of the present invention.
It should be noted that the desktop window can be shown based on the operating system of terminal, which can be with
For computer operating systems such as Windows operating system, Unix operating systems, (SuSE) Linux OS, Mac OS operating systems,
Or the mobile phone operating systems such as IOS operating system, Android operation system, Windows Phone operating systems, the present invention are real
Example is applied not limit this.
In practical application, the method described in the embodiment of the present invention can be by increasing code in the operating system of terminal
Mode is realized.
Figure 1A is a kind of mouse information acquisition methods flow chart of desktop icons provided in an embodiment of the present invention, and this method is used
In terminal.Referring to Figure 1A, this method includes:
Step 101:The mouse information for desktop icons generated in the desktop window is obtained by desktop window, it should
Desktop icons are any desktop icons that the desktop window is shown, and not covered with mask window on the desktop icons.
It that is to say, without covering mask window on desktop icons in the embodiment of the present invention, therefore desktop window also can
To directly acquire the mouse information for desktop icons wherein generated, without again via the forwarding of mask window, so
Also the case where desktop window loses mouse information would not occur, the reliable of mouse information is obtained to improve desktop window
Property.
Wherein, desktop window refers to the graphic user interface that direct interaction can be carried out with user that terminal is shown, mainly
For showing desktop icons, taskbar etc., it is specifically as follows the window of the entitled SysListView32 of class in Windows operating system
Mouthful.
Wherein, desktop icons refer to the icon of file or application that desktop window is shown.For example, file icon can be text
Part clip icon, document icon, audio and video icon etc.;Application icon can be game application icon, instant messaging application icon, sound
Video Applications icon, news application icon, management application icon, payment application icon etc., the embodiment of the present invention is to the desk-top picture
Mark is not specifically limited.It for convenience of description, next will be by taking the application icon be game application icon as an example.
Wherein, the mouse information of desktop icons may include mouse for the desktop icons click message, double-click message,
Hover state message etc., Hover state message refer to the message generated when mouse pointer is moved on desktop icons.Click message
Further include that left mouse button clicks message and right mouse button clicks message.
In practical application, the mouse information of the desktop icons can be generated by user by mouse action.For example, desk-top picture
Mouse pointer can be moved on some desktop icons rear generation, table by target Hover states message by user by manipulating mouse
The message of clicking of face icon can be after mouse pointer be moved on some desktop icons by user by manipulation mouse, then is clicked
Left mouse button or right button generate.
Step 102:The mouse information is sent to the parent window of the desktop window by the desktop window, in order to the father
Window responds the mouse information.
Wherein, the parent window of desktop window refers to the upper level window of desktop window, specific in Windows operating system
For the window of the entitled SHELLDLL_DefView of class, it is mainly used for responding the notification message that desktop window is sent.
Wherein, the process which responds the mouse information may include:The parent window is disappeared based on the mouse
It ceases to desktop window and sends response instruction, response instruction is used to indicate desktop window and executes the corresponding operation of the mouse information.
In the operating system of terminal, in Windows operating system, after desktop window receives mouse information, all
The parent window for being sent to the desktop window is needed, is intervened by the parent window.It that is to say, which may determine whether to need
Intervention processing is carried out to the mouse information, the mouse information is further processed when carrying out the when of intervening processing, and
The first response instruction is returned to desktop window, which is used to indicate the desktop window and does not execute any operation;When
The second response instruction is returned to desktop window when need not carry out intervening processing to the mouse information, which is used for
Indicate that the desktop window executes the corresponding default action of the mouse information as defined in operating system.
If for example, the mouse information is the double-click message for the A desktop icons applied, and desktop window receives the father
The second response instruction that window is returned based on the mouse information, then the desktop window is that can automatically be held according to the second response instruction
Row opens the operation of A applications.
Step 103:When the parent window receives the mouse information, by the fill assembly in the parent window by the mouse
Message is sent to the corresponding application of the desktop icons, in order to which the application gets the mouse information.
Wherein, which is to inject obtain in the parent window in advance, is received in the parent window for monitoring
The mouse information of desktop icons, and the mouse information is sent to the corresponding application of the desktop icons.It that is to say, the fill assembly
It, can be by the mouse of the desktop icons received in the parent window for the communication interface between the parent window and application of desktop window
Message is sent to corresponding application, correspondingly, using the mouse information that can get desktop icons by the fill assembly.
Wherein, which is located in explorer process, in order to realize the above method, needs in advance in resource management
When device starts, which is injected into the parent window of the explorer process, so that the follow-up parent window can be with
Directly invoke the fill assembly having been injected into.For popular, fill assembly is injected into the parent window and that is to say technology people
The pre-programmed fill assembly of member is loaded into the parent window, subsequently to directly invoke.In practical application, by the injection group
Part is injected into there are many injection modes of the parent window, for example can pass through COM (Component Object Model, component
Object model) mechanism injection, injecting by way of creating remote thread or being injected by way of creating hook program
Deng.
In one possible implementation, which is being sent to by this by the fill assembly in the parent window
Before the corresponding application of desktop icons, when the explorer starts, the fill assembly can be injected by COM mechanism
In the parent window.By taking Windows operating system as an example, specific technology code realizes that process can be:In explorer (resources
Manager) start when, the fill assembly is injected into explorer.exe (explorer process) by COM mechanism, and
The window procedure of take over SHELLDLL_DefView (parent window of desktop window) monitors LVN_HOTTRACK (mouse information).
Wherein, COM is a kind of programming mode of object-oriented, and it is inside single application program or multiple that it defines object
Behavior between application program is Microsoft for web page server and client, gain collection and the Office groupwares it
Between interaction a component software technology.COM mechanism is a kind of injection mode injected by registration table, can will be according to COM
The fill assembly of programming mode programming is injected into the parent window.
After application gets the mouse information of desktop icons, which can execute corresponding according to the mouse information
Business.It can so ensure that application can get mouse information, it is also ensured that desktop window will not lose mouse information,
Improve the stability of operating system.
In one possible implementation, it after application gets the mouse information of desktop icons, is received when determining
To mouse information be used to indicate mouse pointer and currently have been moved on the desktop icons of the application when, which can obtain and wait for
The goal notification message of displaying, and the goal notification message is shown by the desktop icons by corresponding treatment mechanism.
For example, desktop icons shown in Figure 1B are the desktop icons of QQ game applications, when mouse pointer is moved to this by user
When on desktop icons, QQ game applications can receive the Hover state message of the desktop icons by the fill assembly, and can be with
Notification message as shown in Figure 1B is popped up by the desktop icons according to the Hover states message.
User can not be needed by this method and opens application, you can directly tell user applies to work as on desktop icons
Preceding state, while behavior (such as mouse single machine, double-click, Jin go out desktop icons) of the user on icon, Jin Eryu can be monitored
User establishes corresponding interactive experience, so user is facilitated intuitively to obtain application message, is also convenient for using displaying oneself
Information is to user side.
It should be noted that the mouse information of desktop icons refers to the mouse that desktop icons region generates in desktop window
Message is marked, and in addition to the mouse information of desktop icons, which can also obtain in addition to desktop icons region
The mouse message that generates of other regions, such as desktop window the mouse message etc. that generates of white space.It that is to say, the desktop
All mouse informations that window generates can be directly acquired to obtain by the desktop window, and can be sent by the desktop window
Give the parent window.And it is sent to the mouse information of the parent window, it can be received first by the fill assembly in the parent window.
In practical application, which may include message block component and mouse information sending assembly.The message is blocked
It cuts component and is sent to all mouse informations of the parent window for receiving desktop window, and desk-top picture is extracted from the mouse information
Target mouse information.It is the communication component between the fill assembly and application, the message block group that the mouse, which sends message components,
The mouse information of the desktop icons of part extraction can be sent to corresponding application by the mouse information sending assembly.In addition, should
Mouse information sending assembly also has filter layer, and the mouse information institute of desktop icons to be sent can be determined by the filter layer
Corresponding application, that is, determine which application is the mouse information of the desktop icons is sent to by this.
In addition, the application layer of application may include mouse information receiving unit and Service Component.The mouse information reception group
Part is the communication component between the application layer and the fill assembly of the application, and it is logical can to carry out message with mouse information sending assembly
Letter receives the mouse information of the desktop icons of mouse information sending assembly transmission.The Service Component is the application layer of the application
The component of specific business is handled, can handle corresponding business according to the mouse information that receives, such as can be according to receiving
Hover state mouse informations displaying tips etc..
Further, which can also realize the animation effect of desktop icons.
Specific method includes:When the dynamic effect rule of the preset icon based on the application, determine that desktop icons needs carry out weight
When painting, icon update request is sent to the desktop window by the fill assembly, icon update request carries the mark of the application
Know, is used to indicate and is updated to the desktop icons to meet the dynamic effect icon of the dynamic effect rule of the preset icon;It is updated based on the icon
Request, the draw message of the desktop icons is sent by the desktop window, which is used to indicate to this to the parent window
Desktop icons are redrawn;When the parent window receives the draw message, it is based on the draw message, passes through the fill assembly pair
The desktop icons are redrawn, to realize the animation effect of the desktop icons.
By the above method, single desktop icons can be given to increase animation effect, user is attracted to click, so as to
To promote the user volume of the application.
Wherein, icon update request is additionally operable to indicate that the desktop window sends draw message to the parent window.Current
Terminal operating system, when the desktop icons of desktop window are redrawn, desktop window i.e. can send draw message
(NM_CUSTOMDRAW) parent window is given, is redrawn, be that is to say, only desktop window based on the draw message by the parent window
It sends to have and could trigger redrawing for desktop icons when draw message.Therefore, when application determines that the desktop icons are redrawn
When, icon update request can be sent to the desktop window by the fill assembly, so that the desktop window is based on the icon more
It is new to ask to send draw message to the parent window, to which triggering redraws the desktop icons.
Wherein, the dynamic effect rule of the preset icon of the application is to be application setting in advance for being drawn in desktop window
The rule of the dynamic effect desktop icons of the application, and the dynamic effect rule of preset icon of the application can be advance by the server of the application
Setting, can be by the terminal default setting, can also be by user setting, and it is not limited in the embodiment of the present invention.
It should be noted that the preset icon of application dynamic effect rule, which may include corresponding desktop icons, redraws opportunity and figure
Animation effect is marked, this redraws opportunity and is used to indicate and when needs to redraw the desktop icons, the icon animation effect
It is used to indicate when needing to redraw desktop icons, which type of dynamic effect icon should be redrawn out in desktop window.
In practical application, this redraws the set-up time that opportunity can be based on application, the run time of application, application are not read
Message, the mouse information etc. of desktop icons of application are configured, naturally it is also possible to and periodically it is arranged or is randomly provided, this
Inventive embodiments do not limit this.
For example, if the set-up time based on application is configured, it can be application installation is complete needs that this, which redraws opportunity,
When desktop window shows application icon, using after installation is complete preset duration, or application update is completed to need again in table
When face-port mouth display application icon etc..
If the run time setting based on application, it can be application when bringing into operation that this, which redraws opportunity, or application fortune
After row preset duration etc..
If the unread message setting based on application, it can be application when having unread message that this, which redraws opportunity, or application
Unread message number be more than preset number when etc..
If the mouse information of the desktop icons based on application is configured, it can be to detect desk-top picture that this, which redraws opportunity,
When target specifies mouse information, which can be Hover states mouse information or click message etc..
If periodically setting, this redraws opportunity can be for when preset duration etc..For example, the preset duration can be
1 minute, 1 hour etc..
The time is redrawn based on above-mentioned, in a specific embodiment, which is determined by the dynamic effect rule of preset icon should
It may include any one of the following manners that desktop icons, which redraw,:
The first realization method:When installation is complete for the application, determines and need to redraw the desktop icons.Namely
It is that can initialize installation in user and need to redraw the desktop icons of acquiescence in application, determining, to show dynamic effect icon
User is attracted to click.
Second of realization method:When the unread message number of the application is more than preset number, determines and need to the desktop
Icon is redrawn.It that is to say, can determine the desktop needed to acquiescence when application has unread message or excessive unread message
Icon is redrawn, with by showing that dynamic effect icon prompts user currently to have unread message needs to check.
Wherein, the preset number can by applying default setting, can also by user setting, the embodiment of the present invention to this not
It limits.For example, the preset number can be 1,10 or 20 etc..
The third realization method:When the application receives the mouse information of fill assembly transmission, and the mouse information
When being used to indicate mouse pointer and currently having been moved on the desktop icons, determines and need to redraw the desktop icons.Namely
It is that can determine when mouse pointer is moved on the desktop icons by user and need to redraw the desktop icons of acquiescence,
To promote interactivity, user experience is enriched.
4th kind of realization method:Every preset duration, determines and need to redraw the desktop icons.It that is to say, the table
Face icon can periodically be redrawn, so as to periodically show dynamic effect icon.
Wherein, which can be pre-set by the server of the application, or by the terminal default setting, also may be used
With by user setting, it is not limited in the embodiment of the present invention.If for example, the preset duration is 1 hour, i.e. every 1 hour
It can determine that needs redraw the desktop icons.
It should be noted that the embodiment of the present invention be only by it is above-mentioned it is several redraw opportunity for illustrate, and actually answer
In, other that can also be arranged application according to specific needs redraw opportunity, and it is not limited in the embodiment of the present invention.
In practical application, the default desktop icon of application is usually unified static icon, therefore when user need not make
With this in application, would not also be concerned about the desktop icons of the application.And in the embodiment of the present invention, pass through the dynamic effect rule of preset icon
Icon animation effect in then, you can realize to user and show dynamic effect icon, to attract the concern of user, and then attract user
It is clicked.
Wherein, the icon animation effect can be original desktop icons are integrally replaced with into default animation icon, will be original
The part icon component of desktop icons is shown with animation effect, increases to mark or move on original desktop icons and imitate component etc..
Further, can also include a variety of different types of icon animation effects in the dynamic effect rule of preset icon, moreover,
The different opportunitys that redraw can correspond to different types of icon animation effect.
For the different types of icon animation effect that the dynamic effect rule of the preset icon includes, icon update request may be used also
For indicating that the desktop window sends different draw messages to the parent window, that is to say, different types of icon animation effect
Fruit can correspond to different draw messages, so that fill assembly can redraw out different dynamic effects according to different draw messages
Desktop icons.
For example, when based on application preset icon move effect rule determine the desktop icons redrawn, and need by
When the desktop icons redraw effect icon dynamic for the first kind, desktop icons update request be additionally operable to indicate the desktop window to this
Parent window sends the first draw message, then when the parent window receives first draw message, you can based on first drafting
Message is redrawn the desktop icons for the dynamic effect icon of the first kind by the fill assembly;When the preset icon based on application is dynamic
Effect rule determines that the desktop icons are redrawn, and needs redraw the desktop icons when moving effect icon for Second Type,
Desktop icons update request is additionally operable to indicate that the desktop window sends the second draw message to the parent window, then in the parent window
When receiving second draw message, you can be based on second draw message, redrawn the desktop icons by the fill assembly
For the dynamic effect icon of Second Type.
In a specific embodiment, it is based on the draw message, the desktop icons are redrawn by the fill assembly
It may include any one of the following manners:
First way:When the draw message is the first draw message, by the fill assembly in the desktop icons institute
It is drawn at position and presets animation icon.
It that is to say, the corresponding icon animation effect of first draw message is that former desktop icons are integrally replaced with to default move
It draws and marks.The default animation icon can be configured by the server of the application, can also also may be used by the terminal default setting
With by user setting, it is not limited in the embodiment of the present invention.
During being redrawn to the desktop icons, which needs first to obtain the default animation icon, then
It is redrawn based on acquired default animation icon.In practical application, which can be directly from the service of the application
Device obtains the default animation icon, or obtains the default animation icon of user's current setting, can also obtain terminal and store
Default animation icon.Wherein, the stored default animation icon of terminal can be the terminal in advance from the server of the application
In acquire, or pre-set to obtain or terminal default setting obtains for user.
Exemplary, which can be GIF (Graphics Interchange Format, image exchange lattice
Formula) animation, such desktop window can be in the animation frame in the desktop icons position carousel GIF animations, and realization is dynamic
Draw effect.
The second way:When the draw message is the second draw message, by the fill assembly in the desktop icons
Predetermined position, which is drawn, presets cue mark.
It that is to say, the corresponding icon animation effect of second draw message is to increase default prompt mark on former desktop icons
Note.The default cue mark can be used for prompting user should apply unread message, or prompt user that should apply newly-increased work(
Can etc..
Wherein, the predeterminated position of the desktop icons and default cue mark can by applying default setting, can also by with
Family is arranged.For example, the default cue mark can be dot, frame, arrow etc., and the cue marks such as the dot, frame, arrow
It can also be shown with color version.
Exemplary, if the predeterminated position is the upper right corner of desktop icons, which is dot, then redraws completion
When can the upper right corner of original desktop icons increase a dot, as shown in Figure 1 C.
The third mode:When the draw message is third draw message, by the fill assembly in the desktop icons
Default dynamic effect component is drawn at the position of specified icons component.
It that is to say, the corresponding icon animation effect of the third draw message is to replace the specified icons component of former desktop icons
It is changed to default dynamic effect component, to show the specified icons component with animation effect.
In practical application, desktop icons usually are combined to be formed or be superimposed by multiple icon components and be formed.The specified icons group
Part can be any one icon component or multiple icon components in the multiple icon components for form the desktop icons.For example,
Referring to Fig. 1 D, desktop icons A is composed of the skateboard component 2 under penguin component 1 and penguin component, is used to indicate an enterprise
Goose foot steps on slide plate just in surfing, and it is usually static icon component to give tacit consent to skateboard component.The specified icons component can be slide plate
Component 2.
Wherein, which can be the specified icons component in the movement of multiple positions, repetition
Reduce and amplify, rotate etc..
Referring to Fig. 1 D, it is for skateboard component 2, default dynamic effect component are effect skateboard component by the specified icons component,
Then when the draw message is third draw message, you can where the skateboard component 2 by the fill assembly in the desktop icons
Dynamic effect skateboard component is drawn at position.Wherein, which can be the animation effect that skateboard component floats up and down, from
And can visually show dynamic of the penguin by skateboard surfing, to attract user to pay close attention to.
4th kind of mode:When the draw message is four draw message, by the fill assembly on the desktop icons
Draw default dynamic effect component.
It that is to say, the corresponding icon animation effect of the 4th draw message is to increase default dynamic effect group on former desktop icons
Part.For example, one or more star components constantly moved or rotating snowflake can be increased on former desktop icons
Component etc..
Original pattern of desktop icons can be changed by the above method, will apply and be presented on selectable dynamic effect pattern
Before user plane, so as to preferably show using current state, rich experience effect and promotion interactivity.
It further, can also be by dynamic effect setting switch dynamic application in the arbitrary desktop icons on desktop window.
It is that the terminal is also based on dynamic effect setting switch, the multiple desktop icons shown from desktop window are selected, will be selected
Desktop icons redrawn according to the dynamic effect rule of preset icon of corresponding application.
In the first realization method, which can provide a dynamic effect setting interface, the dynamic effect setting interface Zhong Bao
The corresponding application identities of multiple desktop icons that the desktop window is shown are included, each application identities correspond to a dynamic effect setting and open
It closes.Each dynamic effect of the corresponding dynamic effect setting switch of application identities for being turned on and off the corresponding desktop icons of the application identities
Redraw function.
When the dynamic effect setting switch unlatching, the dynamic effect of the desktop icons, which will redraw function, to open, to be based on being somebody's turn to do
The dynamic effect rule of the preset icon of application, redraws the desktop icons by the fill assembly.When the dynamic effect setting switch closes
When closing, the dynamic effect of the desktop icons, which will redraw function, to close, and default desktop figure is shown to also just may only display in desktop window
Mark, and can not achieve dynamic effect.
Pass through the dynamic effect setting interface, you can realize that the dynamic effect setting for moving the application that effect redraws function is opened by desired
It opens, the dynamic effect setting switch for being not desired to the application for realizing that dynamic effect redraws function is closed, to improve user experience.
In second of realization method, which can be that each desktop icons of the desktop window are provided which a dynamic effect
Setting switch, the dynamic effect that can be easily turned on and off the desktop icons by the dynamic effect setting switch redraw function.
Wherein, the dynamic effect setting switch of each desktop icons can be by user by being touched to the specified operation of the desktop icons
Hair display, specifically may be displayed on the corresponding position of the desktop icons.For example user can be touched by operations such as right mouse buttons
The dynamic effect setting switch of the desktop icons is sent out, which may be displayed on by the desktop icons.
It should be noted that the embodiment of the present invention is said by taking the icon animation effect of above-mentioned several forms as an example
It is bright, and in practical application, the icon animation effect of other forms can also be set according to specific needs, and the embodiment of the present invention is to this
It does not limit.
It should be noted that it is above-mentioned it is several redraw opportunity and above-mentioned several icon animation effects can in any combination, to
It realizes and redraws out different icon animation effects on the different opportunitys that redraws.For example, the application can be big in unread message number
When preset number, determines and need to redraw the desktop icons, and by the fill assembly in the default of the desktop icons
It is drawn at position and presets cue mark, prompt user that unread message needs should have been applied to check to preset cue mark by this.
In a specific embodiment, it is a kind of mouse of desktop icons provided in an embodiment of the present invention referring to Fig. 1 E, Fig. 1 E
The implementation environment schematic diagram of message acquisition method is marked, which includes explorer process and application layer.
Wherein, explorer process includes fill assembly 10, which is located in the parent window of desktop window,
Including message block component 11 and mouse information sending assembly 12.The message block component 11 is sent to for receiving desktop window
All mouse informations of the parent window, and from the mouse information extract desktop icons mouse information.The mouse sends message
Communication component of the component 12 between the fill assembly and application layer, the mouse of the desktop icons of the message block component 11 extraction
Message can be sent to application layer by the mouse information sending assembly 12.
Wherein, application layer includes the Service Component 21 and mouse information receiving unit 22 of application layer.The mouse information receives
It is logical can to carry out message with mouse information sending assembly 12 for communication component of the component 22 between application layer and fill assembly 10
Letter receives the mouse information of the desktop icons of the mouse information sending assembly 12 transmission.The Service Component 21 of the application layer is to answer
The component of specific business is handled with layer, can handle corresponding business according to the mouse information received.
It should be noted that above application layer can be the application layer of any application of terminal installation, the fill assembly
10 can be sent to the mouse information of the desktop icons received the application layer of corresponding application.
For example, in practical application, it is based on above-mentioned implementation environment, message block component 11, which receives, is sent to the logical of parent window
When knowing message, it can be determined that the notification message whether be desktop icons mouse information, when the notification message is desktop icons
When mouse information, you can the mouse information is sent the mouse that message components 12 are sent to the application layer of corresponding application by mouse
Message receipt component 22.When the Service Component 21 of application layer gets the mouse information by the mouse information receiving unit 22
When, you can corresponding business is handled according to the mouse information received.For example the Service Component 21 of the application layer may determine that this
Mouse information whether be the desktop icons Hover state mouse informations, when the Hover state mouse informations for being determined as the desktop icons
When, you can notification message to be presented (tips) is obtained, and relevant displaying interface is called to show that this is logical by the desktop icons
Know message.
In addition, other than it can the mouse information of the desktop icons be sent to application layer, which may be used also
According to original arithmetic logic of the parent window, to be responded to the mouse information of the desktop icons.For example, the fill assembly 10
After the mouse information for receiving the desktop icons, it can indicate that desktop window carries out system default processing, that is, pass through the message
Intercepting component 11 sends response instruction to desktop window, and instruction desktop window executes the corresponding system default behaviour of the mouse information
Make.
In another specific embodiment, it is another desktop icons provided in an embodiment of the present invention to participate in Fig. 1 F, Fig. 1 F
The implementation environment schematic diagram of mouse information acquisition methods, the implementation environment include explorer process and application layer.
Wherein, explorer process includes fill assembly 10, which is located in the parent window of desktop window,
Component 13 is painted including message block component 11, mouse information sending assembly 12 and icon certainly.The message block component 11 is for connecing
The notification message that desktop window is sent to the parent window of the desktop window is received, and therefrom extracts mouse information and draw message.
For mouse information, which can be sent to application by the mouse information by mouse information sending assembly 12
Layer;For draw message, which can be sent to icon by the draw message and paint component 13 certainly.The icon is certainly
Component 13 is painted for being redrawn to desktop icons based on draw message.
Wherein, application layer includes the dynamic effect component 23 of Service Component 21, mouse information receiving unit 22 and icon of application layer.
The mouse information receiving unit 22 can be with 12 progress message communicatings of the mouse information transmission group, and the dynamic effect component 23 of the icon can
To carry out message communicating from component 13 is painted with icon.In this way, application layer can monitor the mouse information of desktop icons in real time, and control
Desktop icons drawing process processed changes rendering parameter and reaches different dynamic effects.
In practical application, which can be sent to application layer by the mouse information of desktop icons, specific implementation
Process can be with the associated description of reference chart 1E embodiments, and details are not described herein.Unlike Fig. 1 E embodiments, shown in Fig. 1 F
Implementation environment can also redraw desktop icons.
Specifically, it is based on above-mentioned implementation environment, the Service Component 21 of application layer can move preset icon in effect rule
The corresponding parameter that redraws of icon animation effect is sent to icon from component 13 is painted, so as to icon by the dynamic effect component 23 of icon in advance
From the storage of component 13 is painted, this redraws parameter.Later, when the Service Component of application layer 21 is determined based on the dynamic effect rule of the preset icon
When needing to redraw the desktop icons, you can by icon 23 notification icon of dynamic effect component from component 13 is painted, so as to icon
From component 13 is painted by message block component 11 to desktop window transmission icon update request, when icon is based on being somebody's turn to do from component 13 is painted
When icon update request receives the repaint message of desktop window transmission, you can redraw ginseng based on repaint message acquisition storage
Number, and parameter is redrawn based on this, desktop icons are redrawn, to realize the animation effect of desktop icons.
In addition, for other notification messages that the fill assembly 10 need not be intervened, which can be with
It indicates that desktop window carries out system default processing, i.e., response instruction, instruction is sent to desktop window by the message block component
Desktop window executes system default operation.
In the embodiment of the present invention, can directly be obtained by desktop window generated in the desktop window be directed to desktop icons
Mouse information be transmitted to desktop window without obtaining the mouse information by mask window so that parent window is responded,
The parent window of the desktop window is sent to by desktop window again, and the mouse of desktop window transmission is received in the parent window
When marking message, which can also be sent to the desktop icons are corresponding to answer by the fill assembly in the parent window
With, so as to this application obtain the mouse information, therefore can ensure application can obtain the mouse information under the premise of, avoid
The problem of mouse information occurred when forwarding mouse information to desktop window by mask window is lost improves desktop window sound
Answer the success rate of mouse action.
Fig. 2 is a kind of block diagram of the mouse information acquisition device of desktop icons provided in an embodiment of the present invention, which can
Think terminal, referring to Fig. 2, which includes:
Acquisition module 201, the step 101 for executing above-described embodiment;
First sending module 202, the step 102 for executing above-described embodiment;
Second sending module 203, the step 103 for executing above-described embodiment.
Optionally, which further includes:
Injection module, for when the explorer starts, by The Component Object Model COM mechanism by the fill assembly
It is injected into the parent window.
Optionally, which further includes:
Third sending module, for when the dynamic effect rule of the preset icon based on the application, determine the desktop icons need into
When row is redrawn, icon update request is sent to the desktop window by the fill assembly, icon update request carries the application
Mark, be used to indicate the dynamic effect icon that the desktop icons are updated to meet the dynamic effect rule of the preset icon;
4th sending module, for based on icon update request, the table to be sent to the parent window by the desktop window
The draw message of face icon, which, which is used to indicate, redraws the desktop icons;
Module is redrawn, for when the parent window receives the draw message, being based on the draw message, passing through the injection group
Part redraws the desktop icons, to realize the animation effect of the desktop icons.
Optionally, which further includes determining module, and the determining module is for executing any one of the following manners:
When installation is complete for the application, determines and need to redraw the desktop icons;
When the unread message number of the application is more than preset number, determines and need to redraw the desktop icons;
When the application receives the mouse information of fill assembly transmission, and the mouse information is used to indicate mouse pointer
When currently having been moved on the desktop icons, determines and need to redraw the desktop icons.
Optionally, this redraws module for executing any one of the following manners:
When the draw message is the first draw message, drawn in the desktop icons position by the fill assembly
Default animation icon;
When the draw message is the second draw message, the predetermined position by the fill assembly in the desktop icons is painted
System presets cue mark.
In the embodiment of the present invention, the mouse information acquisition device of the desktop icons can be obtained directly by desktop window should
The mouse information for desktop icons generated in desktop window, so that parent window is responded, without passing through mask window
It obtains the mouse information and is transmitted to desktop window, then be sent to the parent window of the desktop window by desktop window, and in the father
It, can also be by the fill assembly in the parent window by the mouse when mouse information that window reception is sent to the desktop window
Message is sent to the corresponding application of the desktop icons, so that the application obtains the mouse information, therefore can ensure to apply energy
Under the premise of enough obtaining the mouse information, avoids passing through the mouse occurred when mask window forwards mouse information to desktop window and disappear
The problem of breath is lost improves the success rate of desktop window response mouse action.
It should be noted that:The mouse information acquisition device for the desktop icons that above-described embodiment provides is obtaining desktop icons
Mouse information when, only the example of the division of the above functional modules, in practical application, can as needed and incite somebody to action
Above-mentioned function distribution is completed by different function modules, i.e., the internal structure of the device is divided into different function modules, with
Complete all or part of function described above.In addition, the mouse information for the desktop icons that above-described embodiment provides obtains dress
It sets and belongs to same design with the mouse information acquisition methods embodiment of desktop icons, specific implementation process refers to method implementation
Example, which is not described herein again.
Fig. 3 is a kind of structural schematic diagram of terminal 300 provided in an embodiment of the present invention.Referring to Fig. 3, terminal 300 can wrap
Include communication unit 310, the memory 320 for including one or more computer readable storage mediums, input unit 330,
Display unit 340, sensor 350, voicefrequency circuit 360, WIFI (Wireless Fidelity, Wireless Fidelity) module 370, packet
Include there are one or more than one processing core processor 380 and the components such as power supply 390.Those skilled in the art can be with
Understand, the restriction of the not structure paired terminal of terminal structure shown in Fig. 3, may include than illustrating more or fewer components,
Either combine certain components or different components arrangement.Wherein:
Communication unit 310 can be used for receiving and sending messages or communication process in, signal sends and receivees, the communication unit 310
Can be RF (Radio Frequency, radio frequency) circuit, router, modem, etc. network communication equipments.Particularly, when
When communication unit 310 is RF circuits, after the downlink information of base station is received, transfer at one or more than one processor 380
Reason;In addition, the data for being related to uplink are sent to base station.RF circuits usually as communication unit include but not limited to antenna,
At least one amplifier, tuner, one or more oscillator, subscriber identity module (SIM) card, transceiver, coupler,
LNA (Low Noise Amplifier, low-noise amplifier), duplexer etc..In addition, communication unit 310 can also be by wireless
Communication is communicated with network and other equipment.The wireless communication can use any communication standard or agreement, including but not limited to
GSM (Global System of Mobile communication, global system for mobile communications), GPRS (General
Packet Radio Service, general packet radio service), CDMA (Code Division Multiple Access, code
Point multiple access), WCDMA (Wideband Code Division Multiple Access, wideband code division multiple access), LTE (Long
Term Evolution, long term evolution), Email, SMS (Short Messaging Service, short message service) etc..
Memory 320 can be used for storing software program and module, and processor 380 is stored in the software journey of memory 320 by operation
Sequence and module, to perform various functions application and data processing.Memory 320 can include mainly storing program area and deposit
Store up data field, wherein storing program area can storage program area, the application program needed at least one function (for example broadcast by sound
Playing function, image player function etc.) etc.;Storage data field can be stored uses created data (such as sound according to terminal 300
Frequency evidence, phone directory etc.) etc..In addition, memory 320 may include high-speed random access memory, can also include non-volatile
Property memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.Correspondingly, it deposits
Reservoir 320 can also include Memory Controller, to provide the access of processor 380 and input unit 330 to memory 320.
Input unit 330 can be used for receiving the number or character information of input, and generate and user setting and function
Control related keyboard, mouse, operating lever, optics or the input of trace ball signal.Preferably, input unit 330 may include touching
Sensitive surfaces 331 and other input equipments 332.Touch sensitive surface 331, also referred to as touch display screen or Trackpad are collected and are used
Family on it or neighbouring touch operation (such as user using any suitable object or attachment such as finger, stylus in touch-sensitive table
Operation on face 331 or near touch sensitive surface 331), and corresponding attachment device is driven according to preset formula.It is optional
, touch sensitive surface 331 may include both touch detecting apparatus and touch controller.Wherein, touch detecting apparatus detection is used
The touch orientation at family, and the signal that touch operation is brought is detected, transmit a signal to touch controller;Touch controller is from touch
Touch information is received in detection device, and is converted into contact coordinate, then gives processor 380, and can receive processor 380
The order sent simultaneously is executed.Furthermore, it is possible to using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves
Realize touch sensitive surface 331.In addition to touch sensitive surface 331, input unit 330 can also include other input equipments 332.Preferably,
Other input equipments 332 can include but is not limited to physical keyboard, function key (such as volume control button, switch key etc.),
It is one or more in trace ball, mouse, operating lever etc..
Display unit 340 can be used for showing information input by user or the information and terminal 300 that are supplied to user
Various graphical user interface, these graphical user interface can be made of figure, text, icon, video and its arbitrary combination.
Display unit 340 may include display panel 341, optionally, LCD (Liquid Crystal Display, liquid crystal may be used
Show device), the forms such as OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) configure display panel
341.Further, touch sensitive surface 331 can cover display panel 341, when touch sensitive surface 331 detects on it or neighbouring touches
After touching operation, processor 380 is sent to determine the type of touch event, is followed by subsequent processing type of the device 380 according to touch event
Corresponding visual output is provided on display panel 341.Although in figure 3, touch sensitive surface 331 and display panel 341 are conducts
Two independent components realize input and input function, but in some embodiments it is possible to by touch sensitive surface 331 and display
Panel 341 is integrated and realizes and outputs and inputs function.
Terminal 300 may also include at least one sensor 350, such as optical sensor, motion sensor and other sensings
Device.Optical sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can be according to the bright of ambient light
Secretly adjust the brightness of display panel 341, proximity sensor can close display panel 341 when terminal 300 is moved in one's ear
And/or backlight.As a kind of motion sensor, gravity accelerometer can detect in all directions (generally three axis) and add
The size of speed can detect that size and the direction of gravity when static, can be used to identify application (such as the horizontal/vertical screen of mobile phone posture
Switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;As for terminal 300
The other sensors such as gyroscope, barometer, hygrometer, thermometer, the infrared sensor that can also configure, details are not described herein.
Voicefrequency circuit 360, loud speaker 361, microphone 362 can provide the audio interface between user and terminal 300.Audio
The transformed electric signal of the audio data received can be transferred to loud speaker 361 by circuit 360, and sound is converted to by loud speaker 361
Sound signal exports;On the other hand, the voice signal of collection is converted to electric signal by microphone 362, after being received by voicefrequency circuit 360
Be converted to audio data, then by after the processing of audio data output processor 380, it is such as another to be sent to through communication unit 310
Terminal, or audio data is exported to memory 320 to be further processed.Voicefrequency circuit 360 is also possible that earplug is inserted
Hole, to provide the communication of peripheral hardware earphone and terminal 300.
In order to realize wireless communication, wireless communication unit 370, the wireless communication unit 370 can be configured in the terminal
It can be WIFI module.WIFI belongs to short range wireless transmission technology, and unit 370 can help terminal 300 by radio communication
User sends and receive e-mail, browses webpage and access streaming video etc., it has provided wireless broadband internet to the user and has accessed.
Although showing wireless communication unit 370 in figure, but it is understood that, and it is not belonging to must be configured into for terminal 300, it is complete
It can be omitted in the range for the essence for not changing invention as needed entirely.
Processor 380 is the control centre of terminal 300, utilizes each portion of various interfaces and connection whole mobile phone
Point, by running or execute the software program and/or module that are stored in memory 320, and calls and be stored in memory 320
Interior data execute the various functions and processing data of terminal 300, to carry out integral monitoring to mobile phone.Optionally, processor
380 may include one or more processing cores;Preferably, processor 380 can integrate application processor and modem processor,
Wherein, the main processing operation system of application processor, user interface and application program etc., modem processor mainly handles nothing
Line communicates.It is understood that above-mentioned modem processor can not also be integrated into processor 380.
Terminal 300 further includes the power supply 390 (such as battery) powered to all parts, it is preferred that power supply can pass through electricity
Management system and processor 380 are logically contiguous, to realize management charging, electric discharge and power consumption by power-supply management system
The functions such as management.Power supply 360 can also include one or more direct current or AC power, recharging system, power supply event
Hinder the random components such as detection circuit, power supply changeover device or inverter, power supply status indicator.
Although being not shown, terminal 300 can also include camera, bluetooth module etc., and details are not described herein.
In the present embodiment, terminal further includes that there are one this or more than one journeys of either more than one program
Sequence is stored in memory, and is configured to be executed by one or more than one processor, the one or more
Program includes for executing the corresponding instruction of method in the embodiment of the present invention involved by Fig. 1 embodiments.
One of ordinary skill in the art will appreciate that realizing that all or part of step of above-described embodiment can pass through hardware
It completes, relevant hardware can also be instructed to complete by program, the program can be stored in a kind of computer-readable
In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all the present invention spirit and
Within principle, any modification, equivalent replacement, improvement and so on should all be included in the protection scope of the present invention.
Claims (10)
1. a kind of mouse information acquisition methods of desktop icons, which is characterized in that the method includes:
The mouse information for desktop icons generated in the desktop window, the desktop icons are obtained by desktop window
For any desktop icons that the desktop window is shown, and not covered with mask window on the desktop icons;
The mouse information is sent to the parent window of the desktop window by the desktop window, in order to the parent window
The mouse information is responded;
When the parent window receives the mouse information, by the fill assembly in the parent window by the mouse information
It is sent to the corresponding application of the desktop icons, in order to which the application gets the mouse information.
2. the method as described in claim 1, which is characterized in that the fill assembly by the parent window is by the mouse
Mark message is sent to before the corresponding application of the desktop icons, further includes:
When the explorer starts, the fill assembly is injected by the father by The Component Object Model COM mechanism
In window.
3. method as claimed in claim 1 or 2, which is characterized in that the method further includes:
When the dynamic effect rule of the preset icon based on the application, when determining that the desktop icons are redrawn, by described
Fill assembly sends icon update request to the desktop window, and the icon update request carries the mark of the application, uses
The desktop icons are updated to meet the dynamic effect icon of the dynamic effect rule of the preset icon in instruction;
It is updated and is asked based on the icon, the drafting for sending the desktop icons to the parent window by the desktop window disappears
Breath, the draw message, which is used to indicate, redraws the desktop icons;
When the parent window receives the draw message, it is based on the draw message, by the fill assembly to described
Desktop icons are redrawn, to realize the animation effect of the desktop icons.
4. method as claimed in claim 3, which is characterized in that the dynamic effect rule of the preset icon based on the application, really
The fixed desktop icons are redrawn, including any one of the following manners:
When installation is complete for the application, determines and need to redraw the desktop icons;
When the unread message number of the application is more than preset number, determines and need to redraw the desktop icons;
When the application receives the mouse information that the fill assembly is sent, and the mouse information is used to indicate mouse
When pointer is currently had been moved on the desktop icons, determines and need to redraw the desktop icons.
5. method as claimed in claim 3, which is characterized in that it is described to be based on the draw message, pass through the fill assembly
The desktop icons are redrawn, including any one of the following manners:
When the draw message is the first draw message, painted in the desktop icons position by the fill assembly
System presets animation icon;
When the draw message be the second draw message when, by the fill assembly the desktop icons predetermined position
It draws and presets cue mark.
6. a kind of mouse information acquisition device of desktop icons, which is characterized in that described device includes:
Acquisition module disappears for obtaining the mouse for desktop icons generated in the desktop window by desktop window
Breath, the desktop icons are any desktop icons that the desktop window is shown, and not covered with mask on the desktop icons
Window;
First sending module, father's window for the mouse information to be sent to the desktop window by the desktop window
Mouthful, in order to which the parent window responds the mouse information;
Second sending module, for when the parent window receives the mouse information, passing through the injection in the parent window
The mouse information is sent to the corresponding application of the desktop icons by component, is disappeared in order to which the application gets the mouse
Breath.
7. device as claimed in claim 6, which is characterized in that described device further includes:
Injection module, for when the explorer starts, by The Component Object Model COM mechanism by the fill assembly
It is injected into the parent window.
8. method as claimed in claims 6 or 7, which is characterized in that described device further includes:
Third sending module, for when the dynamic effect rule of the preset icon based on the application, determine the desktop icons need into
When row is redrawn, icon update request is sent to the desktop window by the fill assembly, the icon update request carries
The mark of the application is used to indicate and is updated to the desktop icons to meet the dynamic effect figure of the dynamic effect rule of the preset icon
Mark;
4th sending module, for based on icon update request, institute to be sent to the parent window by the desktop window
The draw message of desktop icons is stated, the draw message, which is used to indicate, redraws the desktop icons;
Module is redrawn, for when the parent window receives the draw message, being based on the draw message, passing through the note
Enter component to redraw the desktop icons, to realize the animation effect of the desktop icons.
9. method as claimed in claim 8, which is characterized in that described device further includes determining module, and the determining module is used
In execution any one of the following manners:
When installation is complete for the application, determines and need to redraw the desktop icons;
When the unread message number of the application is more than preset number, determines and need to redraw the desktop icons;
When the application receives the mouse information that the fill assembly is sent, and the mouse information is used to indicate mouse
When pointer is currently had been moved on the desktop icons, determines and need to redraw the desktop icons.
10. method as claimed in claim 8, which is characterized in that the module that redraws is for executing any in following manner
Kind:
When the draw message is the first draw message, painted in the desktop icons position by the fill assembly
System presets animation icon;
When the draw message be the second draw message when, by the fill assembly the desktop icons predetermined position
It draws and presets cue mark.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710116282.5A CN108536540B (en) | 2017-03-01 | 2017-03-01 | Method and device for acquiring mouse message of desktop icon |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710116282.5A CN108536540B (en) | 2017-03-01 | 2017-03-01 | Method and device for acquiring mouse message of desktop icon |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108536540A true CN108536540A (en) | 2018-09-14 |
CN108536540B CN108536540B (en) | 2022-02-22 |
Family
ID=63488489
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710116282.5A Active CN108536540B (en) | 2017-03-01 | 2017-03-01 | Method and device for acquiring mouse message of desktop icon |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108536540B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112799558A (en) * | 2021-02-01 | 2021-05-14 | 联想(北京)有限公司 | Information processing method, information processing device, electronic equipment and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103257788A (en) * | 2013-05-17 | 2013-08-21 | 北京暴风科技股份有限公司 | Windows desktop dynamic icon forming method |
CN103699381A (en) * | 2013-12-20 | 2014-04-02 | Tcl集团股份有限公司 | Method and system for setting Widget based on Firefox OS (Operating System) platform |
CN104021016A (en) * | 2014-06-13 | 2014-09-03 | 北京奇虎科技有限公司 | Method and browser for loading browser plug-in icons |
-
2017
- 2017-03-01 CN CN201710116282.5A patent/CN108536540B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103257788A (en) * | 2013-05-17 | 2013-08-21 | 北京暴风科技股份有限公司 | Windows desktop dynamic icon forming method |
CN103699381A (en) * | 2013-12-20 | 2014-04-02 | Tcl集团股份有限公司 | Method and system for setting Widget based on Firefox OS (Operating System) platform |
CN104021016A (en) * | 2014-06-13 | 2014-09-03 | 北京奇虎科技有限公司 | Method and browser for loading browser plug-in icons |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112799558A (en) * | 2021-02-01 | 2021-05-14 | 联想(北京)有限公司 | Information processing method, information processing device, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN108536540B (en) | 2022-02-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11361492B2 (en) | Sticker presentation method and apparatus computer-readable storage medium, and terminal | |
CN106453053B (en) | Group message display methods and device | |
WO2017129031A1 (en) | Information acquisition method and device | |
WO2016150331A1 (en) | Method and device for operating game client | |
CN107734179A (en) | A kind of message prompt method, mobile terminal | |
CN105022552B (en) | A kind of method and apparatus for showing messaging list | |
US20180248824A1 (en) | Instant messaging method and apparatus | |
CN108958865A (en) | A kind of footmark management method and mobile terminal | |
CN108958805A (en) | menu display method and device | |
CN109408150A (en) | It is a kind of to apply loading method and mobile terminal fastly | |
CN106775262A (en) | A kind of method and system of mark display management of not interpreting blueprints | |
CN108900407B (en) | Method and device for managing session record and storage medium | |
CN109040441A (en) | Using display methods of attending to anything else, mobile terminal and computer readable storage medium | |
CN108320148A (en) | A kind of resource transfers method and relevant device | |
CN108646961A (en) | A kind of management method of Pending tasks, device and storage medium | |
CN108345474A (en) | Startup method, starter and the mobile terminal of application program | |
CN110147186A (en) | A kind of control method and terminal device of application | |
CN110049187A (en) | A kind of display methods and terminal device | |
CN110225180A (en) | A kind of content input method and terminal device | |
CN110888705A (en) | Method for processing unread message corner mark and electronic equipment | |
CN109857354A (en) | A kind of interface display method and terminal device | |
CN109491632A (en) | A kind of resource sharing method and terminal | |
CN108536388A (en) | split screen processing method, device, storage medium and electronic equipment | |
CN108491219A (en) | A kind of update method and mobile terminal of application | |
CN106098088B (en) | A kind of method and apparatus of the display lyrics |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |