Now want to realize a program, the program on the panel in accordance with the organization/display component of his thoughts, and then the components can be drag and drop to Altium Designer's design drawings, the equivalent of myself to develop a program to be pulled in this program, can be dragged to a third party program, could you please help to give directions technology direction or idea? Or there are other clever technology can achieve this?
The analogy example:
We use Visual c + + development Dialog program, Visual c + + displays a Dialog box (analogy above drawings), at the same time there will be a toolbar displays the various controls (analogy above component library), we put the above the toolbar control drag and drop to the Dialog to finish drawing interface,
And now is I want to achieve a toolbar, showing some controls, then can let the Visual c + + allows me to his control drag and drop the toolbar program to its Dialog of the canvas,
CodePudding user response:
Vc is not across processes, wrote activeX controls will understand, and it even cross-border city reveal the interaction is the difficulty lies in the design of the data, he controls must be have a corresponding specification,CodePudding user response:
Vc is actually a process, and then by drag and dropCodePudding user response:
Receive drag-and-drop target window for drag and drop action to register, and processing the corresponding message,I downloaded an action class OleDropTargetEx h
to complete this action
Drag and drop starting point program for drag and drop data created, mainly use COleDataSource: : CacheGlobalData () interface to create data, use COleDataSource: : DoDragDrop drag and drop action (), when the target program after processing, the interface will return
CodePudding user response:
Put off to the third party programs, want to know that the received data types and formatsCodePudding user response:
Using OleDragDrop, but I don't know whether there is support OleDrag AD,If only figure, you can use a screen capture techniques, implement in their program
CodePudding user response:
Search "Shell Extension"?