CN101452403A - Drawing support method and device - Google Patents

Drawing support method and device Download PDF

Info

Publication number
CN101452403A
CN101452403A CNA2008102404362A CN200810240436A CN101452403A CN 101452403 A CN101452403 A CN 101452403A CN A2008102404362 A CNA2008102404362 A CN A2008102404362A CN 200810240436 A CN200810240436 A CN 200810240436A CN 101452403 A CN101452403 A CN 101452403A
Authority
CN
China
Prior art keywords
vernier
window
goal systems
origin system
relevant information
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
Application number
CNA2008102404362A
Other languages
Chinese (zh)
Other versions
CN101452403B (en
Inventor
倪永全
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Caxa Technology Co Ltd
Original Assignee
Caxa Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Caxa Technology Co Ltd filed Critical Caxa Technology Co Ltd
Priority to CN2008102404362A priority Critical patent/CN101452403B/en
Publication of CN101452403A publication Critical patent/CN101452403A/en
Application granted granted Critical
Publication of CN101452403B publication Critical patent/CN101452403B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The present invention provides a drag-and-drop supporting method, which comprises the following steps: acquiring a handle of a currently opened window of a source system by a target system; according to the acquired handle, acquiring the relevant information of data selected by a cursor in the window from the source system by the target system; and in the window of the target system, processing the data according to the acquired relevant information. The present invention also provides a drag-and-drop supporting device, which comprises a handle module used for making the target system acquire the handle of the current opened window from the source system, an information module used for making the target system acquire the relevant information of the data selected by the cursor in the window from the source system according to the acquired handle, and a processing module used for processing the data according to the acquired relevant information in the window of the target system. The drag-and-drop supporting method and the drag-and-drop supporting system achieve the drag-and-drop support between heterogeneous systems.

Description

Drawing support method and device
Technical field
The present invention relates to areas of information technology, in particular to a kind of drawing support method and device.
Background technology
Pulling is a kind of UI operative technique commonly used, and it can improve user's operating efficiency effectively, reduces the use difficulty of system.In Windows operating system, the technology of pulling has obtained using widely.Modal drag operation is used in the copy and paste of file.For example the user chooses a file or folder in explorer, pins mouse and does not put, and moving target is decontroled mouse again behind assigned address, can realize moving or duplicating of file or folder.In the whole operation process, user's experience is just operated as being both on real desk, and some files are moved in certain file.The extracting of the technology that pulls by the artificial hand-move-dispose procedure realized mutual with computing machine in the most natural mode.
The technology that pulls generally has two kinds of application scenarioss by pulling the scope branch:
(1) between the different controls of same program, as: in explorer, file is dragged under the assigned catalogue on the folder tree from tabulation and finishes file movement.
(2) between the distinct program, as: picture file is dragged to from explorer opens corresponding picture in the drawing software.
At present, the realization of the drag operation in the application programs generally is based on the OLE interface, and promptly the OLE Server Drag/Drop technology that provides of Windows realizes the support that pulls.The specific implementation method is as shown in Figure 1:
Suppose an origin system Source and a goal systems Target, data among the origin system Source need be dragged among the goal systems Target that goal systems Target receives these data and handles accordingly.Realize this operation, need in origin system, realize IDataObject and IDropSource interface, and goal systems only need realize the IDropTarget interface.When origin system begins drag operation, must at first call DoDragDrop function (function definition is as follows), thereby allow OLE know the current content that pulls.OLE also can be arranged to different states with mouse according to the parameter that this function imports into and begin with prompting user drag operation.
WINOLEAPI?DoDragDrop(
IDataObject *pDataObject,//Pointer?to?the?data?object
IDropSource *pDropSource, //Pointer?to?the?source
DWORD dwOKEffect, //Effects?allowed?by?the?source
DWORD *pdwEffect //Pointer?to?effects?on?the?source
);
Must call RegisterDragDrop function (function definition is as follows) earlier and goal systems wants to accept data, this function requires the IDropTarget interface instance of the current target window that pulls simultaneously.
WINOLEAPI?RegisterDragDrop(
HWND hwnd, //Handle?to?a?window?that?can?accept?drops
IDropTarget?*pDropTarget //Pointer?to?object?that?is?to?be?target?of?drop
);
Therefore, when mouse drags data into this window, OLE can call the IDropTarget interface and notify the program that has this window carrying out a drag operation, calls end and can judge that whether these data are acceptablely to pull data and show different mouse states according to pulling content.When mouse discharged on goal systems, same OLE can pass through IDropTarget interface notification target system, thereby obtains and the data that pull are handled accordingly, finishes drag operation.
In realizing process of the present invention, the inventor finds that origin system and goal systems that prior art requires to pull must realize corresponding OLE interface, promptly depend on the OLE Server Drag/Drop technology that Windows provides, otherwise just can't realize two drag operation between system.
Summary of the invention
The present invention aims to provide a kind of drawing support method and device, can solve origin system and the goal systems that prior art requires to pull and must realize corresponding OLE interface, otherwise just can't realize the problem of two drag operation between system.
In an embodiment of the present invention, provide a kind of drawing support method, may further comprise the steps: goal systems is obtained the handle of the window of working as front opening of origin system; Goal systems is according to the handle that is obtained, and obtains the relevant information of vernier data selected the window from origin system; In the window of goal systems, according to the processing of the relevant information execution of being obtained to data.
Preferably, in above-mentioned method, origin system and goal systems are moved on Windows operating system, goal systems is according to the handle that is obtained, the relevant information of obtaining vernier data selected the window from origin system comprises: call the SetWindowsHookEx function, obtain about the vernier left button of the window of origin system and press message; Call the SetWindowsHookEx function, obtain vernier mobile messaging about the window of origin system; Judge and to get access to time interval that the vernier left button presses message and vernier mobile messaging above certain hour; Obtain the relevant information of data.
Preferably, in above-mentioned method, get access to the vernier left button in judgement and press the time interval of message and vernier mobile messaging and also comprise after surpassing certain hour: call the SetCursor function, vernier to be set for pulling middle pattern.
Preferably, in above-mentioned method, getting access to the vernier left button in judgement presses the time interval of message and vernier mobile messaging and also comprises after surpassing certain hour: call the SetWindowsHookEx function, obtain the vernier mobile messaging about the window of goal systems; Call the SetCursor function, vernier to be set for can discharge pattern.
Preferably, in above-mentioned method, after the vernier mobile messaging that obtains about the window of goal systems, also comprise: call the SetWindowsHookEx function, obtain vernier left button release message about the window of goal systems; Call the SetCursor function, with the pattern of reduction vernier.
Preferably, in above-mentioned method, origin system and goal systems are moved on Windows operating system, and goal systems is according to the handle that is obtained, and the relevant information of obtaining vernier data selected the window from origin system comprises: the status information of obtaining vernier; If status information is to pull state, then obtain the relevant information of data.
Preferably, in above-mentioned method, origin system and goal systems are moved on Windows operating system, goal systems is according to the handle that is obtained, the relevant information of obtaining vernier data selected the window from origin system comprises: call the API of origin system or call the API of Windows operating system, obtain the relevant information of data.
In an embodiment of the present invention, also provide a kind of supportive device that pulls, having comprised: the handle module is used to make goal systems to obtain the handle of the window of working as front opening of origin system; Information module is used to make goal systems according to the handle that is obtained, and obtains the relevant information of vernier data selected the window from origin system; Processing module is used for the window in goal systems, according to the processing of the relevant information execution of being obtained to data.
Preferably, in above-mentioned device, origin system and goal systems are moved on Windows operating system, and information module comprises: first module, be used to call the SetWindowsHookEx function, and obtain about the vernier left button of the window of origin system and press message; Unit second is used to call the SetWindowsHookEx function, obtains the vernier mobile messaging about the window of origin system; Unit the 3rd is used to judge that getting access to the vernier left button presses the time interval of message and vernier mobile messaging and surpass certain hour; Unit the 4th is used to obtain the relevant information of data.
Preferably, in above-mentioned device, origin system and goal systems are moved on Windows operating system, and information module comprises: Unit the 5th, the API that is used to call the API of origin system or calls Windows operating system obtains the relevant information of data.
Because obtain the information of the data that will pull in this window by the handle that obtains origin system by goal systems when the window of front opening, thereby solved origin system and the goal systems that prior art requires to pull and to have realized corresponding OLE interface, otherwise just can't realize the problem of two drag operation between system, and then realize the support that pulls between heterogeneous system.
Description of drawings
Accompanying drawing described herein is used to provide further understanding of the present invention, constitutes the application's a part, and illustrative examples of the present invention and explanation thereof are used to explain the present invention, do not constitute improper qualification of the present invention.In the accompanying drawings:
Fig. 1 shows the synoptic diagram of the drawing support method of prior art;
Fig. 2 shows the process flow diagram according to the drawing support method of the embodiment of the invention;
Fig. 3 shows the synoptic diagram that pulls supportive device according to the embodiment of the invention;
Fig. 4 shows the process flow diagram according to the drawing support method of first preferred embodiment of the invention;
Fig. 5 shows the process flow diagram according to the drawing support method of second preferred embodiment of the invention.
Embodiment
Below with reference to the accompanying drawings and in conjunction with the embodiments, describe the present invention in detail.
Fig. 2 shows the process flow diagram according to the drawing support method of the embodiment of the invention, may further comprise the steps:
Step S10, goal systems is obtained the handle of the window of working as front opening of origin system;
Step S20, goal systems is according to the handle that is obtained, and obtains the relevant information of vernier data selected when the window of front opening from origin system;
Step S30 is in the window of goal systems, according to the processing of the relevant information execution of being obtained to data.
This method is obtained the information of the data that will pull in this window by the handle when the window of front opening that is obtained origin system by goal systems, thereby solved origin system and the goal systems that prior art requires to pull and to have realized corresponding OLE interface, otherwise just can't realize the problem of two drag operation between system.Use this method can realize the support that pulls between heterogeneous system.
When this method is specially adapted to the system integration, mutual between integrated software and the host software, the relevant interface even host software is unrealized still can pull by the data that this method is implemented between integrated software and the host software.
Preferably, origin system and goal systems are moved on Windows operating system, and step S20 comprises: call the SetWindowsHookEx function, obtain about the vernier left button when the window of front opening of origin system and press message; Call the SetWindowsHookEx function, obtain vernier mobile messaging about the window of working as front opening of origin system; Judge and to get access to time interval that the vernier left button presses message and vernier mobile messaging above certain hour; Obtain the relevant information of data.
The preferred embodiment provides a kind of embodiment of the relevant information that goal systems obtains the data that pull.For the control (as TreeView, ListView, ListBox etc.) of selecting type, can directly adopt and judge that the vernier left button presses the method that begins to be moved beyond certain hour and determine that user's preparation carries out drag operation, thereby obtain the relevant information of the data that pull.Like this, can reduce, and the erroneous judgement that causes is disconnected because of the user unconsciously clicks, moving cursor as far as possible.
Preferably, wherein, get access to the vernier left button in judgement and press the time interval of message and vernier mobile messaging and also comprise after surpassing certain hour: call the SetCursor function, vernier to be set for pulling middle pattern.Like this, after judging that the user will pull, the pattern by changing vernier points out the user to begin to pull for pulling middle pattern.
Preferably, in step S20, judge that get access to the vernier left button presses the time interval of message and vernier mobile messaging and surpass certain hour and also comprise afterwards: call the SetWindowsHookEx function, obtain vernier mobile messaging about the window of goal systems; Call the SetCursor function, vernier to be set for can discharge pattern.Like this, when vernier move to goal systems when the appropriate area of the window of front opening the time, the pattern by changing vernier points out the user can pull data in current region for can discharge pattern.
Preferably, wherein, after the vernier mobile messaging that obtains about the window of goal systems, also comprise: call the SetWindowsHookEx function, obtain vernier left button release message about the window of goal systems; Call the SetCursor function, with the pattern of reduction vernier.After getting access to the vernier release message, can determine that then the user has finished drag operation.In addition, discharging vernier the user, after the data that release pulls, can be general pattern by the pattern of reduction vernier promptly, points out the user to finish drag operation.
The preferred embodiment provides goal systems to obtain the another embodiment of the relevant information of the data that pull.Obtain the relevant information that pulls data again by after discharging vernier the user, can avoid maloperation.
Above preferred embodiment pulls incident by the vernier message simulation by goal systems interception origin system and goal systems, pulls data between heterogeneous system thereby be implemented in.Interception that it should be noted that above-mentioned vernier message to origin system continues to carry out.
Preferably, origin system and goal systems are moved on Windows operating system, and step S20 comprises: the status information of obtaining vernier; If status information is to pull state, then obtain the relevant information of data.By utilizing the judgement and the operating function of Windows operating system self, whether the state of further judging vernier determines whether user will carry out drag operation for pulling state.Like this, can further reduce erroneous judgement breaks.
The preferred embodiment provides a kind of embodiment of the relevant information that goal systems obtains the data that pull.Pull the control such as the TextBox control of chosen content for needs, then can judge the state of vernier,, can think that then the user prepares to carry out drag operation, thereby obtain the relevant information of the data that pull if be in the state of pulling.
Preferably, origin system and goal systems are moved on Windows operating system, and step S20 comprises: call the API of origin system or call the API of Windows operating system, obtain the relevant information of data.
The preferred embodiment provides the specific embodiments of when front opening window obtaining the relevant information of the data that pull of goal systems from origin system.Can realize according to the different object reference diverse ways that pulls, for example:, then can obtain the relevant information of the current selected text that pulls by the TextOut function if what pull is text in the origin system text box.
In realizing process of the present invention, the inventor also finds in the prior art, even origin system and goal systems have all realized corresponding OLE interface, if the unexposed internal data format that it pulls of origin system, then because goal systems can't be known the internal data format that origin system pulls, thereby cause to finish drag operation, and can't realize the pulling of any data format between origin system and goal systems.For example, it is character string after the title of many data being pulled connects that origin system is set its content that pulls, and then goal systems must be known the internal data format that pulls content of origin system, just can obtain the data name that needs, thereby realizes pulling of data.
Adopt the preferred embodiment of the present invention to can be implemented in the support that pulls that pulls data layout between heterogeneous system arbitrarily.When being used for the system integration, even host software is only supported specific the pulling of data layout that pull, still can be implemented in the support that pulls that pulls data layout arbitrarily between integrated software and the host software, thereby promoted user's operating experience greatly, realized integrated more closely.
Relevant function prototype is as follows:
long?FindWindow(
string?lpClassNameg,
string?lpWindowName
);
HHOOK?SetWindowsHookEx(
int?idHook,
HOOKPROC?lpfn,
HINSTANCE?hMod,
DWORD?dwThreadId;
);
HCUR?SOR?SetCursor(
HCURSOR?hCursor
);
Fig. 3 shows the synoptic diagram that pulls supportive device according to the embodiment of the invention, and this device comprises: handle module 10 is used to make goal systems to obtain the handle of the window of working as front opening of origin system; Information module 20 is used to make goal systems according to the handle that is obtained, and obtains the relevant information of vernier data selected the window from origin system; Processing module 30 is used for the window in goal systems, according to the processing of the relevant information execution of being obtained to data.
This device makes the handle when the window of front opening that obtains origin system by goal systems obtain the information of the data that will pull in this window by handle module and information module, thereby solved origin system and the goal systems that prior art requires to pull and to have realized corresponding OLE interface, otherwise just can't realize the problem of two drag operation between system.Use this device can realize the support that pulls between heterogeneous system.
When this device is specially adapted to the system integration, mutual between integrated software and the host software, the relevant interface even host software is unrealized still can pull by the data that this device is implemented between integrated software and the host software.
Preferably, above-mentioned pulling in the supportive device, origin system and goal systems are moved on Windows operating system, and information module 20 comprises: first module, be used to call the SetWindowsHookEx function, obtain about the vernier left button of the window of origin system and press message; Unit second is used to call the SetWindowsHookEx function, obtains the vernier mobile messaging about the window of origin system; Unit the 3rd is used to judge that getting access to the vernier left button presses the time interval of message and vernier mobile messaging and surpass certain hour; Unit the 4th is used to obtain the relevant information of data.
The preferred embodiment provides the specific embodiments of the relevant information of the data that make goal systems obtain to pull by information module.For the control (as TreeView, ListView, ListBox etc.) of selecting type, can be directly adopt and judge that the vernier left button presses the method that begins to be moved beyond certain hour and determine that user's preparation carries out drag operation, thereby obtain the relevant information of the data that pull by Unit the 4th by first and second and Unit three.Like this, can reduce, and the erroneous judgement that causes is disconnected because of the user unconsciously clicks, moving cursor as far as possible.
Preferably, above-mentioned pulling in the supportive device, origin system and goal systems are moved on Windows operating system, and information module 20 comprises: Unit the 5th, the API that is used to call the API of origin system or calls Windows operating system obtains the relevant information of data.
The preferred embodiment provides by Unit the 5th and has made the specific embodiments of when front opening window obtaining the relevant information of the data that pull of goal systems from origin system.Can realize according to the different object reference diverse ways that pulls, for example:, then can obtain the relevant information of the current selected text that pulls by the TextOut function if what pull is text in the origin system text box.
In realizing process of the present invention, the inventor also finds in the prior art, even origin system and goal systems have all realized corresponding OLE interface, if the unexposed internal data format that it pulls of origin system, then because goal systems can't be known the internal data format that origin system pulls, thereby cause to finish drag operation, and can't realize the pulling of any data format between origin system and goal systems.For example, it is character string after the title of many data being pulled connects that origin system is set its content that pulls, and then goal systems must be known the internal data format that pulls content of origin system, just can obtain the data name that needs, thereby realizes pulling of data.
Adopt the preferred embodiment of the present invention to can be implemented in the support that pulls that pulls data layout between heterogeneous system arbitrarily.When being used for the system integration, even host software is only supported specific the pulling of data layout that pull, still can be implemented in the support that pulls that pulls data layout arbitrarily between integrated software and the host software, thereby promoted user's operating experience greatly, realized integrated more closely.
Fig. 4 shows the process flow diagram according to the drawing support method of first preferred embodiment of the invention, may further comprise the steps:
Step S102 uses the FindWindow function to obtain the handle of the window of working as front opening of origin system according to program header;
Step S104 utilizes the SetWindowsHookEx function to set up hook and tackles the left mouse button of this window and press message WM_LBUTTONDOWN;
Step S106 tackles the mouse mobile messaging WH_MOUSE of this window;
Step S108 is if judge that pressing the back from mouse begins traveling time at interval above 500 milliseconds to mouse, thinks that promptly the user prepares to carry out drag operation;
Step S110 uses SetCursor function setup mouse pointer for pulling middle pattern, and the prompting user has begun to pull;
Step S112 is at the interception mouse mobile messaging WH_MOUSE in the window of front opening of goal systems, if mouse moves to suitable indication range and just revises mouse pointer for can discharge pattern;
Step S114 if intercept mouse release message WM_LBUTTONUP in goal systems, thinks that then the user has finished drag operation;
Step S116 calls the related function of origin system or obtains the relevant information of the data that mouse pulls by API;
Step S118, the pattern of reduction mouse, and the triggering events corresponding is finished the processing to the data that pull.
It should be noted that above-mentioned message block to origin system continues to carry out.
This method is obtained the relevant information of the data that will pull in this window by the handle when the window of front opening that is obtained origin system by goal systems, and origin system need not to carry out any operation, thereby solved origin system and the goal systems that prior art requires to pull and to have realized corresponding OLE interface, otherwise just can't realize the problem of two drag operation between system.Use this method can realize the support that pulls between heterogeneous system.
In addition, the mouse information simulation of goal systems interception origin system and goal systems pulls incident, and obtain the relevant information of the data that pull, thereby realized the support that pulls that pulls data layout arbitrarily between heterogeneous system by API that calls origin system or the API that calls Windows operating system.
When this method is specially adapted to the system integration, mutual between integrated software and the host software, the relevant interface or only support the data of specific format to pull even host software is unrealized, still can pull by the arbitrary format data that this method is implemented between integrated software and the host software, thereby promoted user's operating experience greatly, realized integrated more closely.
Fig. 5 shows the process flow diagram according to the drawing support method of second preferred embodiment of the invention, may further comprise the steps:
Step S202 uses the FindWindow function to obtain the handle of the window of working as front opening of origin system according to program header;
Step S204 utilizes the SetWindowsHookEx function to set up hook and tackles the left mouse button of this window and press message WM_LBUTTONDOWN;
Step S206 tackles the mouse mobile messaging WH_MOUSE of this window;
Step S208 is if judge that pressing the back from mouse begins traveling time at interval above 500 milliseconds to mouse, thinks that promptly the user prepares to carry out drag operation;
Step S210 uses SetCursor function setup mouse pointer for pulling middle pattern, and the prompting user has begun to pull;
Step S212 calls the related function of origin system or obtains the relevant information of the data that mouse pulls by API;
Step S214 is at the interception mouse mobile messaging WH_MOUSE in the window of front opening of goal systems, if mouse moves to suitable indication range and just revises mouse pointer for can discharge pattern;
Step S216 if intercept mouse release message WM_LBUTTONUP in goal systems, thinks that then the user has finished drag operation;
Step S218, the pattern of reduction mouse, and the triggering events corresponding is finished the processing to the data that pull.
It should be noted that above-mentioned message block to origin system continues to carry out.
This method is obtained the relevant information of the data that will pull in this window by the handle when the window of front opening that is obtained origin system by goal systems, and origin system need not to carry out any operation, thereby solved origin system and the goal systems that prior art requires to pull and to have realized corresponding OLE interface, otherwise just can't realize the problem of two drag operation between system.Use this method can realize the support that pulls between heterogeneous system.
In addition, the mouse information simulation of goal systems interception origin system and goal systems pulls incident, and obtain the relevant information of the data that pull, thereby realized the support that pulls that pulls data layout arbitrarily between heterogeneous system by API that calls origin system or the API that calls Windows operating system.
When this method is specially adapted to the system integration, mutual between integrated software and the host software, the relevant interface or only support the data of specific format to pull even host software is unrealized, still can pull by the arbitrary format data that this method is implemented between integrated software and the host software, thereby promoted user's operating experience greatly, realized integrated more closely.
From above description, as can be seen, the above embodiments of the present invention have realized following technique effect: this method is obtained the information of the data that will pull in this window by the handle when the window of front opening that is obtained origin system by goal systems, thereby solved origin system and the goal systems that prior art requires to pull and to have realized corresponding OLE interface, otherwise just can't realize the problem of two drag operation between system.Use this method can realize the support that pulls between heterogeneous system.In addition, the mouse information simulation of goal systems interception origin system and goal systems pulls incident, and obtain the relevant information of the data that pull, thereby realized the support that pulls that pulls data layout arbitrarily between heterogeneous system by API that calls origin system or the API that calls Windows operating system.
Obviously, those skilled in the art should be understood that, above-mentioned each module of the present invention or each step can realize with the general calculation device, they can concentrate on the single calculation element, perhaps be distributed on the network that a plurality of calculation element forms, alternatively, they can be realized with the executable program code of calculation element, thereby, they can be stored in the memory storage and carry out by calculation element, perhaps they are made into each integrated circuit modules respectively, perhaps a plurality of modules in them or step are made into the single integrated circuit module and realize.Like this, the present invention is not restricted to any specific hardware and software combination.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. a drawing support method is characterized in that, may further comprise the steps:
Goal systems is obtained the handle of the window of working as front opening of origin system;
Described goal systems is according to the handle that is obtained, and obtains the relevant information of vernier data selected the described window from described origin system;
In the window of described goal systems, according to the processing of the relevant information execution of being obtained to described data.
2. drawing support method according to claim 1, it is characterized in that, described origin system and described goal systems are moved on Windows operating system, and described goal systems is according to the handle that is obtained, and the relevant information of obtaining vernier data selected the described window from described origin system comprises:
Call the SetWindowsHookEx function, obtain about the vernier left button of the described window of described origin system and press message;
Call the SetWindowsHookEx function, obtain vernier mobile messaging about the described window of described origin system;
Judge and to get access to time interval that described vernier left button presses message and described vernier mobile messaging above certain hour;
Obtain the relevant information of described data.
3. drawing support method according to claim 2 is characterized in that, gets access to described vernier left button in judgement and presses the time interval of message and described vernier mobile messaging and also comprise after surpassing certain hour:
Call the SetCursor function, described vernier to be set for pulling middle pattern.
4. drawing support method according to claim 2 is characterized in that, gets access to described vernier left button in judgement and presses the time interval of message and described vernier mobile messaging and also comprise after surpassing certain hour:
Call the SetWindowsHookEx function, obtain vernier mobile messaging about the described window of described goal systems;
Call the SetCursor function, described vernier to be set for can discharge pattern.
5. drawing support method according to claim 4 is characterized in that, also comprises after the vernier mobile messaging that obtains about the described window of described goal systems:
Call the SetWindowsHookEx function, obtain vernier left button release message about the described window of described goal systems;
Call the SetCursor function, to reduce the pattern of described vernier.
6. drawing support method according to claim 1, it is characterized in that, described origin system and described goal systems are moved on Windows operating system, and described goal systems is according to the handle that is obtained, and the relevant information of obtaining vernier data selected the described window from described origin system comprises:
Obtain the status information of described vernier;
If described status information is to pull state, then obtain the relevant information of described data.
7. drawing support method according to claim 1, it is characterized in that, described origin system and described goal systems are moved on Windows operating system, and described goal systems is according to the handle that is obtained, and the relevant information of obtaining vernier data selected the described window from described origin system comprises:
Call the API of described origin system or call the API of described Windows operating system, obtain the relevant information of described data.
8. one kind pulls supportive device, it is characterized in that, comprising:
The handle module is used to make goal systems to obtain the handle of the window of working as front opening of origin system;
Information module is used to make described goal systems according to the handle that is obtained, and obtains the relevant information of vernier data selected the described window from described origin system;
Processing module is used for the window in described goal systems, according to the processing of the relevant information execution of being obtained to described data.
9. the supportive device that pulls according to claim 8 is characterized in that described origin system and described goal systems are moved on Windows operating system, described information module comprises:
First module is used to call the SetWindowsHookEx function, obtains about the vernier left button of the described window of described origin system and presses message;
Unit second is used to call the SetWindowsHookEx function, obtains the vernier mobile messaging about the described window of described origin system;
Unit the 3rd is used to judge that getting access to described vernier left button presses the time interval of message and described vernier mobile messaging and surpass certain hour;
Unit the 4th is used to obtain the relevant information of described data.
10. the supportive device that pulls according to claim 8 is characterized in that described origin system and described goal systems are moved on Windows operating system, described information module comprises:
Unit the 5th, the API that is used to call the API of described origin system or calls described Windows operating system obtains the relevant information of described data.
CN2008102404362A 2008-12-19 2008-12-19 Drawing support method and device Active CN101452403B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008102404362A CN101452403B (en) 2008-12-19 2008-12-19 Drawing support method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008102404362A CN101452403B (en) 2008-12-19 2008-12-19 Drawing support method and device

Publications (2)

Publication Number Publication Date
CN101452403A true CN101452403A (en) 2009-06-10
CN101452403B CN101452403B (en) 2012-03-28

Family

ID=40734650

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008102404362A Active CN101452403B (en) 2008-12-19 2008-12-19 Drawing support method and device

Country Status (1)

Country Link
CN (1) CN101452403B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102262528A (en) * 2010-05-26 2011-11-30 腾讯科技(深圳)有限公司 Instant messaging client and method for dragging on embedded webpage thereof
CN102437969A (en) * 2011-09-03 2012-05-02 上海量明科技发展有限公司 Method and system for loading hyperlink data in instant messaging tool
CN102566983A (en) * 2010-12-07 2012-07-11 腾讯科技(深圳)有限公司 Object drag implementation method and object drag implementation system based on Windows system
CN102741832A (en) * 2012-03-29 2012-10-17 华为技术有限公司 Data block processing method and system, front end display device, and back end processing device
CN104123080A (en) * 2014-07-15 2014-10-29 东莞市微云系统科技有限公司 Automation file dragging method
CN107861104A (en) * 2017-10-31 2018-03-30 北京无线电测量研究所 A kind of radar target windowing following display method and system based on dragging
WO2022089208A1 (en) * 2020-10-31 2022-05-05 华为技术有限公司 File dragging method, and electronic device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100360600B1 (en) * 2000-09-26 2002-11-13 주식회사 비쥬얼랜드 Method for moving a Window mode image between Online Program windows
US7665028B2 (en) * 2005-07-13 2010-02-16 Microsoft Corporation Rich drag drop user interface
CN100451937C (en) * 2005-12-28 2009-01-14 腾讯科技(深圳)有限公司 Arrangement customization method of friends grouping on instantaneous communication subscriber mainboard
JP2007328569A (en) * 2006-06-08 2007-12-20 Shimadzu Corp Input support program, control having the program mounted thereon, and data processor

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102262528A (en) * 2010-05-26 2011-11-30 腾讯科技(深圳)有限公司 Instant messaging client and method for dragging on embedded webpage thereof
CN102262528B (en) * 2010-05-26 2016-06-22 腾讯科技(深圳)有限公司 The method of instant communication client and dragging on embedded webpage thereof
CN102566983A (en) * 2010-12-07 2012-07-11 腾讯科技(深圳)有限公司 Object drag implementation method and object drag implementation system based on Windows system
CN102566983B (en) * 2010-12-07 2016-04-20 腾讯科技(深圳)有限公司 Object based on Windows system pulls implementation method and system thereof
CN102437969A (en) * 2011-09-03 2012-05-02 上海量明科技发展有限公司 Method and system for loading hyperlink data in instant messaging tool
CN102437969B (en) * 2011-09-03 2016-11-09 上海量明科技发展有限公司 JICQ is loaded into the method and system of hyperlink data
CN102741832A (en) * 2012-03-29 2012-10-17 华为技术有限公司 Data block processing method and system, front end display device, and back end processing device
WO2012103839A3 (en) * 2012-03-29 2013-02-21 华为技术有限公司 Data block processing method and system, front end display device, and back end processing device
CN102741832B (en) * 2012-03-29 2015-09-09 华为技术有限公司 Data block processing method and system, front end display device and background process equipment
CN104123080A (en) * 2014-07-15 2014-10-29 东莞市微云系统科技有限公司 Automation file dragging method
CN107861104A (en) * 2017-10-31 2018-03-30 北京无线电测量研究所 A kind of radar target windowing following display method and system based on dragging
WO2022089208A1 (en) * 2020-10-31 2022-05-05 华为技术有限公司 File dragging method, and electronic device

Also Published As

Publication number Publication date
CN101452403B (en) 2012-03-28

Similar Documents

Publication Publication Date Title
CN101452403B (en) Drawing support method and device
US8237664B2 (en) Application adaptive mobile terminal
CN110888615B (en) Multi-input equipment interaction method, device and medium for double-screen different display of Android system
DE202012007707U1 (en) Apparatus for providing a user interface on a device displaying content operators
JPH0784744A (en) Apparatus and method for interface of window
CN106850719A (en) A kind of data transmission method and device
CN103312814B (en) The method for building up of VNC concealed channel between cloud management platform and virtual machine terminal user
CN112306325B (en) Interaction control method and device
CN100456218C (en) Method for starting immediate communication tool chatting window
CN103064625A (en) Object selecting method and system based on multi-point touch screen
CN107832113A (en) A kind of interface display method and device of android system application program
CN102331927A (en) Method for integrating soft keyboard input of Wine and Android mobile phone
CN107203326A (en) A kind of floated push-botton operation control method
CN103365524A (en) Application synergy method based on status bar icon and communication terminal
CN108008992A (en) One kind input operation processing method, processing unit and computer-readable recording medium
CN102566983A (en) Object drag implementation method and object drag implementation system based on Windows system
CN102098233A (en) Method and system for controlling communication window in instant messenger
CN102999380B (en) Wallpaper control method and device
CN102855064B (en) A kind of method of functional control help document of quick display application program
CN102081919A (en) Desktop segmenting display system and method of operating system of handheld device
CN102236512A (en) Handheld electric device and graphic interface operating method
CN103678100A (en) Application automatic testing method and system of terminal
CN110825455A (en) Application program running method, device and system
CN101299730B (en) Instant communication client terminal and human-machine interaction method thereof
CN110275623A (en) The triggering method and equipment of button value

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C56 Change in the name or address of the patentee

Owner name: CAXA TECHNOLOGY CO., LTD.

Free format text: FORMER NAME: BEIJING DIGITAL DAFANG TECHNOLOGY CO., LTD.

CP01 Change in the name or title of a patent holder

Address after: 100080, Room 802, satellite building, No. 63, Zhichun Road, Beijing, Haidian District

Patentee after: Beijing CAXA Technology Co., Ltd.

Address before: 100080, Room 802, satellite building, No. 63, Zhichun Road, Beijing, Haidian District

Patentee before: Beijing Digital Dafang Technology Co., Ltd.