CN101452403B - Drawing support method and device - Google Patents

Drawing support method and device Download PDF

Info

Publication number
CN101452403B
CN101452403B CN2008102404362A CN200810240436A CN101452403B CN 101452403 B CN101452403 B CN 101452403B CN 2008102404362 A CN2008102404362 A CN 2008102404362A CN 200810240436 A CN200810240436 A CN 200810240436A CN 101452403 B CN101452403 B CN 101452403B
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.)
Active
Application number
CN2008102404362A
Other languages
Chinese (zh)
Other versions
CN101452403A (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
北京数码大方科技有限公司
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 北京数码大方科技有限公司 filed Critical 北京数码大方科技有限公司
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

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 through the artificial hand-move-dispose procedure realized mutual with computing machine with 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 to completion file movement under the assigned catalogue on the folder tree from tabulation.
(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.Concrete implementation method is as shown in Figure 1:
Suppose an origin system Source and a goal systems Target, need data among the origin system Source be dragged among the goal systems Target that goal systems Target receives these data and handles accordingly.Realize and to operate, 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 following), thereby let OLE know the current content that pulls.OLE also can be arranged to different state 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 following) 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, accomplishes 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, a kind of drawing support method is provided, has 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, carry out processing to data according to the relevant information of being obtained.
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, and 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, and 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, a kind of supportive device that pulls is provided also, has 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, carries out the processing to data according to the relevant information of being obtained.
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 through the handle that obtains origin system by goal systems when the window of front opening obtain in this window the information of the data that will pull; 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 accompanying drawing and combine embodiment, specify the present invention.
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 in the window of goal systems, carries out the processing to data according to the relevant information of being obtained.
This method through the handle that obtains origin system by goal systems when the window of front opening obtain in this window the information of the data that will pull; 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 through 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 (like 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 confirm 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 judges will pull, the pattern through changing vernier pointed 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 through 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 confirm that then the user has accomplished drag operation.In addition, discharging vernier the user, after the data that promptly release pulls, can be general pattern through the pattern of reduction vernier, points out the user to accomplish drag operation.
The preferred embodiment provides the another kind of embodiment of the relevant information that goal systems obtains the data that pull.Obtain the relevant information that pulls data again through after discharging vernier the user, can avoid maloperation.
Above-mentioned preferred embodiment pulls incident through 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.Through utilizing the judgement and the operating function of Windows operating system self, whether the state of further judging vernier confirms 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 that for example: as if what pull is the text in the origin system text box, then can obtain the relevant information of the current selected text that pulls through the TextOut function according to the different object reference diverse ways that pulls.
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 accomplish drag operation, and can't realize the pulling of any data format between origin system and goal systems.For example, it is the 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 following:
long?FindWindow(
string?lpClassNameg,
string?lpWindowName
);
HHOOK?SetWindowsHookEx(
int?idHook,
HOOKPROC?lpfn,
HINSTANCE?hMod,
DWORD?dwThreadId;
);
HCURSOR?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, carries out the processing to data according to the relevant information of being obtained.
This device through handle module and information module make the handle that obtains origin system by goal systems when the window of front opening obtain in this window the information of the data that will pull; 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 through 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 through information module.For the control (like 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 confirm that user's preparation carries out drag operation, thereby obtain the relevant information of the data that pull through Unit the 4th through 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 through 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 that for example: as if what pull is the text in the origin system text box, then can obtain the relevant information of the current selected text that pulls through the TextOut function according to the different object reference diverse ways that pulls.
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 accomplish drag operation, and can't realize the pulling of any data format between origin system and goal systems.For example, it is the 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, the left mouse button of utilizing the SetWindowsHookEx function to set up this window of hook interception is pressed 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 in goal systems, intercept mouse release message WM_LBUTTONUP, thinks that then the user has accomplished drag operation;
Step S116 calls the related function of origin system or obtains the relevant information of the data that mouse pulls through API;
Step S118, the pattern of reduction mouse, and trigger events corresponding and accomplish 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 through the handle that obtains origin system by goal systems when the window of front opening obtain in this window the relevant information of the data that will pull; 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 through 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 through 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, the left mouse button of utilizing the SetWindowsHookEx function to set up this window of hook interception is pressed 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 through 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 in goal systems, intercept mouse release message WM_LBUTTONUP, thinks that then the user has accomplished drag operation;
Step S218, the pattern of reduction mouse, and trigger events corresponding and accomplish 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 through the handle that obtains origin system by goal systems when the window of front opening obtain in this window the relevant information of the data that will pull; 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 through 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 through 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; Can find out; The above embodiments of the present invention have realized following technique effect: this method through the handle that obtains origin system by goal systems when the window of front opening obtain in this window the information of the data that will pull; 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 through API that calls origin system or the API that calls Windows operating system.
Obviously, it is apparent to those skilled in the art 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; Can they be stored in the memory storage and carry out, 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 by calculation element.Like this, the present invention is not restricted to any specific hardware and software combination.
The above is merely the preferred embodiments of the present invention, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.All within spirit of the present invention and principle, 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;
Said goal systems is according to the handle that is obtained, and obtains the relevant information of vernier data selected the said window from said origin system;
In the window of said goal systems, carry out processing to said data according to the relevant information of being obtained.
2. drawing support method according to claim 1; It is characterized in that; Said origin system and said goal systems are moved on Windows operating system, and said goal systems is according to the handle that is obtained, and the relevant information of obtaining vernier data selected the said window from said origin system comprises:
Call the SetWindowsHookEx function, obtain about the vernier left button of the said window of said origin system and press message;
Call the SetWindowsHookEx function, obtain vernier mobile messaging about the said window of said origin system;
Judge and to get access to time interval that said vernier left button presses message and said vernier mobile messaging above certain hour;
Obtain the relevant information of said data.
3. drawing support method according to claim 2 is characterized in that, gets access to said vernier left button in judgement and presses the time interval of message and said vernier mobile messaging and also comprise after surpassing certain hour:
Call the SetCursor function, said vernier to be set for pulling middle pattern.
4. drawing support method according to claim 2 is characterized in that, gets access to said vernier left button in judgement and presses the time interval of message and said vernier mobile messaging and also comprise after surpassing certain hour:
Call the SetWindowsHookEx function, obtain vernier mobile messaging about the said window of said goal systems;
Call the SetCursor function, said vernier to be set for can discharge pattern.
5. drawing support method according to claim 4 is characterized in that, after the vernier mobile messaging that obtains about the said window of said goal systems, also comprises:
Call the SetWindowsHookEx function, obtain vernier left button release message about the said window of said goal systems;
Call the SetCursor function, to reduce the pattern of said vernier.
6. drawing support method according to claim 1; It is characterized in that; Said origin system and said goal systems are moved on Windows operating system, and said goal systems is according to the handle that is obtained, and the relevant information of obtaining vernier data selected the said window from said origin system comprises:
Obtain the status information of said vernier;
If said status information is to pull state, then obtain the relevant information of said data.
7. drawing support method according to claim 1; It is characterized in that; Said origin system and said goal systems are moved on Windows operating system, and said goal systems is according to the handle that is obtained, and the relevant information of obtaining vernier data selected the said window from said origin system comprises:
Call the API of said origin system or call the API of said Windows operating system, obtain the relevant information of said 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 said goal systems according to the handle that is obtained, and obtains the relevant information of vernier data selected the said window from said origin system;
Processing module is used for the window in said goal systems, carries out the processing to said data according to the relevant information of being obtained.
9. the supportive device that pulls according to claim 8 is characterized in that said origin system and said goal systems are moved on Windows operating system, said information module comprises:
First module is used to call the SetWindowsHookEx function, obtains about the vernier left button of the said window of said origin system and presses message;
Unit second is used to call the SetWindowsHookEx function, obtains the vernier mobile messaging about the said window of said origin system;
Unit the 3rd is used to judge that getting access to said vernier left button presses the time interval of message and said vernier mobile messaging and surpass certain hour;
Unit the 4th is used to obtain the relevant information of said data.
10. the supportive device that pulls according to claim 8 is characterized in that said origin system and said goal systems are moved on Windows operating system, said information module comprises:
Unit the 5th, the API that is used to call the API of said origin system or calls said Windows operating system obtains the relevant information of said 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 CN101452403A (en) 2009-06-10
CN101452403B true 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)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102262528B (en) * 2010-05-26 2016-06-22 腾讯科技(深圳)有限公司 The method of instant communication client and dragging on embedded webpage thereof
CN102566983B (en) * 2010-12-07 2016-04-20 腾讯科技(深圳)有限公司 Object based on Windows system pulls implementation method and system thereof
CN102437969B (en) * 2011-09-03 2016-11-09 上海量明科技发展有限公司 JICQ is loaded into the method and system of hyperlink data
WO2012103839A2 (en) * 2012-03-29 2012-08-09 华为技术有限公司 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
CN114527901A (en) * 2020-10-31 2022-05-24 华为技术有限公司 File dragging method and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020024740A (en) * 2000-09-26 2002-04-01 이승희 Method for moving a Window mode image between Online Program windows
WO2007008524A2 (en) * 2005-07-13 2007-01-18 Microsoft Corporation Rich drag drop user interface
CN1991727A (en) * 2005-12-28 2007-07-04 腾讯科技(深圳)有限公司 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

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020024740A (en) * 2000-09-26 2002-04-01 이승희 Method for moving a Window mode image between Online Program windows
WO2007008524A2 (en) * 2005-07-13 2007-01-18 Microsoft Corporation Rich drag drop user interface
CN1991727A (en) * 2005-12-28 2007-07-04 腾讯科技(深圳)有限公司 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

Also Published As

Publication number Publication date
CN101452403A (en) 2009-06-10

Similar Documents

Publication Publication Date Title
CN101452403B (en) Drawing support method and device
CN110888615B (en) Multi-input equipment interaction method, device and medium for double-screen different display of Android system
US8803834B2 (en) Interface environment for accessing applications
KR101198271B1 (en) Display management method for computer controled mobile telephone
CN103064625B (en) Based on object selection method and the system of multi-point touch screen
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
CN106383721A (en) Display control method of electronic equipment, device and electronic equipment
CN104539791A (en) Method and device for performing instant messaging in communication terminal
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
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
CN102081919A (en) Desktop segmenting display system and method of operating system of handheld device
CN102236512A (en) Handheld electric device and graphic interface operating method
EP1447749A2 (en) Software development environment
CN103678100A (en) Application automatic testing method and system of terminal
CN114253652A (en) Method and system for realizing cloud application window list of android mobile terminal by simulating local App
CN109101160A (en) Control method, terminal and the computer readable storage medium of terminal
CN103294532B (en) The method of rapid implementation of matrix switch graphical control system
CN106488269A (en) System and method to television equipment control is realized based on third-party application platform
CN104166527A (en) Method for extending user interfaces of application programs
CN104317566A (en) Data reproduction processing method and device for software interface
CN111988382B (en) Method and system for performing application interface interaction across terminals

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.