Hi Guys,
I'm hosting my .Net ListView control using PalettSet in AutoCAD 2012. The Tag property of ListView items got the path to *.dwg files. I want to drag from ListView, while picking the dwg file using Item.Tag property and drop it on AutoCAD drawing area and I'm expecting the result would be the drawing would be shown there.
I've read about Drag and Drop Blocks using Jig Class and I tried some sample code but using built-in Circle class.
Do I have to first read Blocks from dwg file and then attached to mouse and do the drag and drop operation?
I'm actually confused...
Can someone please guide me? Would really appreciate your replies...
Thanks a bunch....
Farrukh
Hi has been a while since I looked at drag and drop operations, but I remember Kean Walmsley did a series of posts for palette drag and drops a while back. Have you seen these? Here are some of the links:
I would start with the source code from the "Clipboard Manager for AutoCAD" plugin-of-the-month which you can download from here:
http://labs.autodesk.com/utilities/ADN_plugins/catalog/
Art