Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Multi-window Binding and dragging method and multi-window binding and dragging system

A dragging device and window technology, applied in the computer field, can solve problems such as cumbersome solutions, inconvenient use, and error-prone, and achieve the effect of reducing complexity, reducing development complexity, and simple and convenient binding and dragging

Active Publication Date: 2015-02-04
ZHUHAI BAOQU TECH CO LTD
View PDF6 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Nowadays, most software realizes binding and dragging of multiple windows by sending a message to other related windows at the same time when a certain window is moved, so that other related windows can also follow the window. However, Such a solution is quite cumbersome, especially when the number of windows is large, it is extremely error-prone, causing great inconvenience in use

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
  • Multi-window Binding and dragging method and multi-window binding and dragging system
  • Multi-window Binding and dragging method and multi-window binding and dragging system
  • Multi-window Binding and dragging method and multi-window binding and dragging system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment approach

[0040] see figure 1 , an embodiment of a method for binding and dragging a plurality of windows in the present invention, comprising:

[0041] S11. Define a window management class for managing windows, and create a window management class object for managing positional relationships between windows;

[0042] S12. Register two or more windows with the window management object, so that the window management object maintains the relative positional relationship between the two or more windows;

[0043] S13. After receiving a message about the movement of one of the windows, transfer the target position to which the window will be moved or the offset to be moved to the window management class;

[0044] S14. The window management class calculates according to the target position or the offset to be moved of one of the windows, and the relative position relationship between the two or more windows maintained by the window management class object Target positions of all windows re...

Embodiment 1

[0075] The following is an example of the method for binding and dragging multiple windows of the present invention by taking the mobile Duba floating window and the weather bubble as examples.

[0076] When the Duba floating window pops up the weather bubbles, there are two windows, the Duba floating window and the weather bubbles. The binding and dragging method embodiment of multiple windows of the present invention comprises the following steps:

[0077] S31. Define a KWndComboMgr class, and create a KWndComboMgr object to maintain the positional relationship between the Duba floating window and the weather bubble.

[0078] S32. Register the two windows, the Duba floating window and the weather bubble, with the KWndComboMgr object, so that the KWndComboMgr object maintains a relative positional relationship between the two windows.

[0079] S33. Call UpdateWindowPadding(), and pass in the respective handles of the Duba floating window and the weather bubble, and the offse...

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 embodiment of the invention discloses a multi-window binding and dragging method and a multi-window binding and dragging system, which relate to the field of computer technology and are invented in order to simply and conveniently implement multi-window binding and dragging. The multi-window binding and dragging method includes the following steps: a window management class for managing windows is defined, and a window management class object for managing the positional relation between the windows is created; more than two windows are registered to the window management class object; after a message of the motion of one of the windows is received, a target position to which the window needs to move or an offset for which the window needs to move is transferred into the window management class; the window management class works out target positions of all the windows already registered to the window management class object, and all the windows already registered to the window management class object are moved from the current positions to the targets positions. The invention is applicable to the case of multi-window binding and dragging.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a binding and dragging method and device for multiple windows. Background technique [0002] In many application software, if two or more windows on the window interface are related to each other and want to be displayed to the user at the same time, when one of the windows is moved, the associated windows may be required to follow move. For example, in Baofengyingyin, there is such a relationship between the player window and the storm box window, so when the player window is moved, the storm box window will also be moved together with the player window. [0003] Nowadays, most software realizes binding and dragging of multiple windows by sending a message to other related windows at the same time when a certain window is moved, so that other related windows can also follow the window. However, Such a solution is quite cumbersome, especially when there are a lot of windows, ...

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 Applications(China)
IPC IPC(8): G06F3/0486G06F3/0481
CPCG06F3/0481G06F3/0486
Inventor 常永耘马波郭滔刘飞杨星王斌张旺陈思尧许昆陈仁雄朱发昌罗璇张弛姚辉刘桂峰
Owner ZHUHAI BAOQU TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products