A method and device for realizing synchronous movement of multiple windows

A synchronous moving, multi-window technology, applied in the input/output process of data processing, instruments, calculations, etc., can solve the problems of asynchronous follow, error-prone, low performance, etc., and achieve the effect of solving asynchronous follow

Active Publication Date: 2019-08-20
BEIJING FEINNO COMM TECH
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Because it involves Hook, this method is more complicated, error-prone, and the performance is lower than the method of processing host window messages alone, and there is still the problem of out-of-sync tracking between windows

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A method and device for realizing synchronous movement of multiple windows
  • A method and device for realizing synchronous movement of multiple windows
  • A method and device for realizing synchronous movement of multiple windows

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] In order to make the object, technical solution and advantages of the present invention clearer, the implementation manner of the present invention will be further described in detail below in conjunction with the accompanying drawings.

[0042] The present invention provides a method and device for realizing synchronous movement of multiple windows, so as to overcome the problem of time difference between windows in the existing multi-window movement scheme and realize synchronous movement of all windows.

[0043] The overall thinking of the present invention is: to realize the synchronous movement of multiple windows, these windows should be moved as a whole, instead of moving each follower window in turn after the host window moves. In the Windows operating system, the process of a window position change will trigger some of the following messages:

[0044] WM_MOVING window is moving

[0045] WM_SIZING window is changing size

[0046] WM_WINDOWPOSCHANGING The windo...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a method and an apparatus for realizing synchronous movement of multiple windows. The method comprises the steps of receiving a message that a window is being changed by the host window when the host window moves or is changed in size, wherein the message comprises new position parameters of the host window; judging whether the number of following windows in a following window list of the host window is 0 or not, wherein the following list comprises following parameters corresponding to the following windows; if the number of the following windows is not 0, changing parameters of the message that the window is being changed, and preventing change of the current position of the host window; and enabling a multi-window synchronous movement operation, and finishing synchronous movement of all windows according to the calculated new position of the host window and new positions of the following windows in the following window list. According to the method and the apparatus, the problem of a time difference of movement among the windows in an existing multi-window movement scheme is solved, so that all the windows can be updated in position at the same time.

Description

technical field [0001] The invention relates to the technical field of interface development under the Windows platform, in particular to a method and a device for realizing synchronous movement of multiple windows. Background technique [0002] In the client interface program, it is often necessary to deal with the scene where multiple pop-up windows follow the movement. For example, when the mouse drags the main interface window, a bubble prompt window popped up on the main interface also needs to move along with the main interface window, ensuring that Bubbles always point to the same location on the main interface window. [0003] At present, there are generally two ways to realize window following: [0004] The host window responds to position change events: In the host window, respond to its own position change and size change events, and modify the position and size of the follower window. This implementation method cannot be used universally. If there are multiple ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): G06F3/0481
Inventor 李波
Owner BEIJING FEINNO COMM TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products