I have a custom application that should support Drag and Drop. When dragging the grid in my application in the DoDragDrop method, I provided the object to be deleted in a serialized format.
When a fall refers to one of my applications, it can deserailize a string and create an object.
I want to make sure that the original application can also get into NotePad / TextPad. I see that I can drag and drop files from Windows Explorer into Notepad, but I can not drag plain text into NotePad. Guess that it checks the DataFormat in the DragEnter event and disallows rows, but allows files to be deleted.
- Is there a way to change the yr format in the source application so that it provides a temporary file / line.
- Is it possible to provide data in 2 formats so that the fall of the target can accept the format in which it is satisfied?
early!
source
share